HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   How to test DNS? (

kendel 14th December 2012 23:24

How to test DNS?
Is there a way to test internally if the DNS server is working properly. I did and have nameserver issues.

My router is forwarding port 53 to ns1 and these are my DNS settings:

Yes A 0 
Yes A mail 0 
Yes A www 0 
Yes MX 10 
Yes NS 0 
Yes NS 0

kendel 15th December 2012 01:01

I figured out that my nameserver are not being resolved internally, how can I fix this... I changed the IP address of the hostname to and it now works... Why does it not resolve the internal IP?

almere 15th December 2012 11:41

you can try dig from localhost to extern IP

kendel 15th December 2012 17:53

Does anyone have any mapping guides to go by to efficiently map DNS records to internal server.

kendel 15th December 2012 20:07

One problem I am trying to figure out. Or rather a few problems:

I have my phpmyadmin on my db1 server running an apache instance.
I wish to make ispconfig on the panel server connecter to the phpmyadmin on the db server, how can I do that. one method I tried was:

First removing the /phpmyadmin from ispconfig server configuration then.
Using ssh to open the panel server that has the ispconfig web shell

nano /usr/local/ispconfig/interface/web/sites/database_phpmyadmin.php

    if($global_config['phpmyadmin_url'] != '') {
        $phpmyadmin_url = $global_config['phpmyadmin_url'];
        $phpmyadmin_url = str_replace('[SERVERNAME]',$serverData['server_name'],$phpmyadmin_url);
    } else {
        isset($_SERVER['HTTPS'])? $http = 'https' : $http = 'http';
        $http = 'http'; : just insert this line exactly here.
        if($web_config['server_type'] == 'nginx') {
            header('location:' . $http . '://' . $serverData['server_name'] . ':8081/phpmyadmin');
        } else {
            header('location:' . $http . '://' . $serverData['server_name'] . '/phpmyadmin');

I added the $http = 'http'; then I created an A record for db1 to the internal IP address of the database server which was called

That of course did not work internally on the network or externally.

How can I correct this?

kendel 17th December 2012 05:08

I have a glue record for my domain but when I create the site and add the DNS records it does not work, here are the results:

But another domain using the same Nameservers and works fine:

using the same DNS record settings... Am I not able to use the domain of my name servers? or how can I fix this.

All times are GMT +2. The time now is 02:15.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.