How do I check the SOA of a domain.

Discussion in 'Server Operation' started by P4rD0nM3, May 31, 2009.

  1. P4rD0nM3

    P4rD0nM3 New Member

    Hey guys, I have my own domain and my own BIND9 DNS server. I wanted to check if ns1.joinpgn.com is the authoritative DNS server for joinpgn.com. How do I do that?

    Here's from a local machine in my house.

    Code:
    [[email protected] ~]# dig joinpgn.com SOA
    
    ; <<>> DiG 9.3.4-P1 <<>> joinpgn.com SOA
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35261
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;joinpgn.com.                   IN      SOA
    
    ;; ANSWER SECTION:
    joinpgn.com.            38400   IN      SOA     ns1.joinpgn.com. administrator.joinpgn.com. 1229546904 10800 3600 604800 38400
    
    ;; Query time: 47 msec
    ;; SERVER: 192.168.0.1#53(192.168.0.1)
    ;; WHEN: Sat May 30 23:17:49 2009
    ;; MSG SIZE  rcvd: 83
    
    [[email protected] ~]#
    
    Here's from the the localhsot of the DNS server itself.

    Code:
    [[email protected] ~]# dig joinpgn.com SOA
    
    ; <<>> DiG 9.5.1-P2-RedHat-9.5.1-2.P2.fc10 <<>> joinpgn.com SOA
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37827
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
    
    ;; QUESTION SECTION:
    ;joinpgn.com.                   IN      SOA
    
    ;; ANSWER SECTION:
    joinpgn.com.            38400   IN      SOA     ns1.joinpgn.com. administrator.j                                                                                                 oinpgn.com. 1229546904 10800 3600 604800 38400
    
    ;; AUTHORITY SECTION:
    joinpgn.com.            38400   IN      NS      ns2.joinpgn.com.
    joinpgn.com.            38400   IN      NS      ns4.joinpgn.com.
    joinpgn.com.            38400   IN      NS      ns3.joinpgn.com.
    joinpgn.com.            38400   IN      NS      ns1.joinpgn.com.
    joinpgn.com.            38400   IN      NS      ns5.joinpgn.com.
    
    ;; ADDITIONAL SECTION:
    ns1.joinpgn.com.        38400   IN      A       208.69.150.248
    ns2.joinpgn.com.        38400   IN      A       208.69.150.248
    ns3.joinpgn.com.        38400   IN      A       208.69.150.248
    ns4.joinpgn.com.        38400   IN      A       208.69.150.248
    ns5.joinpgn.com.        38400   IN      A       208.69.150.248
    
    ;; Query time: 0 msec
    ;; SERVER: 208.69.150.248#53(208.69.150.248)
    ;; WHEN: Sat May 30 23:18:21 2009
    ;; MSG SIZE  rcvd: 249
    
    
    And here's from a remote machine.

    Code:
    [[email protected] ~]# dig joinpgn.com SOA
    
    ; <<>> DiG 9.4.2 <<>> joinpgn.com SOA
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62801
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;joinpgn.com.                   IN      SOA
    
    ;; ANSWER SECTION:
    joinpgn.com.            38400   IN      SOA     ns1.joinpgn.com. administrator.j                                                                                                 oinpgn.com. 1229546904 10800 3600 604800 38400
    
    ;; Query time: 20 msec
    ;; SERVER: 208.67.222.222#53(208.67.222.222)
    ;; WHEN: Sun May 31 05:31:16 2009
    ;; MSG SIZE  rcvd: 83
    
    [[email protected] ~]#
    
    How come when I do the remote dig lookups it says AUTHORITY 0?
     
    Last edited: May 31, 2009
  2. falko

    falko Super Moderator ISPConfig Developer

    Code:
    dig ns joinpgn.com
     

Share This Page