Mydns problem

Discussion in 'Installation/Configuration' started by centoos, Nov 18, 2009.

  1. centoos

    centoos New Member

    Hi Friends:

    I followed step by step the perfect setup guide on centos and ipconfig 3.
    everything is working but mydns
    i used the same mydns version as the tutorial

    i tried to validate the server configuration using this online tool

    http://www.intodns.com/agwmhosting.com but it says the dns server is down


    when i restart mydns it does not throw errors. but when i ran version this is what i get

    [root@centos001 ~]# mydns -v
    mydns[4108]: optional 'active' column found in 'dns_soa' table
    mydns[4108]: optional 'xfer' column found in 'dns_soa' table
    mydns[4108]: optional 'active' column found in 'dns_rr' table
    mydns[4108]: bind (TCP): 127.0.0.1:53: Address already in use


    here is my ipconfig info
    [​IMG]
    [​IMG]

    i have been trying to fix it myself with no luck so far
    can you give some help?

    thanks in advance
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks as if you have another dns daemon beside mydns installed. Post the output of:

    netstat -tap | grep dns

    to verify if your dns server works, run this command on the shell:

    dig @localhost agwmhosting.com
     
  3. centoos

    centoos New Member

    Hi Till, this is the output of both commands


    [root@centos001 ~]# netstat -tap | grep dns
    tcp 0 0 centos001.agwmhostin:domain *:* LISTEN 2761/mydns
    tcp 0 0 localhost.localdomai:domain *:* LISTEN 2761/mydns




    [root@centos001 ~]# dig @localhost agwmhosting.com

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> @localhost agwmhosting.com
    ; (1 server found)
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27555
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;agwmhosting.com. IN A

    ;; ANSWER SECTION:
    agwmhosting.com. 86400 IN A 64.214.202.99

    ;; AUTHORITY SECTION:
    agwmhosting.com. 86400 IN NS ns1.agwmhosting.com.
    agwmhosting.com. 86400 IN NS ns2.agwmhosting.com.

    ;; Query time: 3 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Thu Nov 19 09:59:11 2009
    ;; MSG SIZE rcvd: 85
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is your server the authoritative nameserver for agwmhosting.com? You can find that out by running
    Code:
    dig ns agwmhosting.com
     
  5. centoos

    centoos New Member

    Hi Falko:
    this is the output

    [root@centos001 ~]# dig ns agwmhosting.com

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> ns agwmhosting.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 45340
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;agwmhosting.com. IN NS

    ;; Query time: 137 msec
    ;; SERVER: 10.10.1.12#53(10.10.1.12)
    ;; WHEN: Fri Nov 20 09:34:03 2009
    ;; MSG SIZE rcvd: 33
     
  6. falko

    falko Super Moderator Howtoforge Staff

    It seems as if there are no ns records for agwmhosting.com. Did you create ns records for agwmhosting.com?
     

Share This Page