LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   BIND SOA Configuration on a Sub Domain (https://www.linuxquestions.org/questions/linux-server-73/bind-soa-configuration-on-a-sub-domain-911797/)

Pete-L 11-08-2011 10:36 AM

Yea ns1/2.mydomain.co.uk points at a DNS Loadbalancer which is configured for subdom.mydomain.co.uk to return an A Record of 5.5.5.5

Oddly, I get different results depending on the online dig tool used.

Using http://networking.ringofsaturn.com/Tools/dig.php the results are -

dig subdom.mydomain.co.uk Line 1 looks to be correct here!
Code:

subdom.mydomain.co.uk.        10        IN        A        5.5.5.5
subdom.mydomain.co.uk.        85912        IN        NS        ns1.mydomain.co.uk.
ns1.mydomain.co.uk.        21112        IN        A        1.1.1.1

dig +trace subdom.mydomain.co.uk
Code:

; <<>> DiG 9.6.-ESV-R5 <<>> +trace subdom.mydomain.co.uk
;; global options: +cmd
.                        354953        IN        NS        g.root-servers.net.
.                        354953        IN        NS        k.root-servers.net.
.                        354953        IN        NS        a.root-servers.net.
.                        354953        IN        NS        f.root-servers.net.
.                        354953        IN        NS        b.root-servers.net.
.                        354953        IN        NS        c.root-servers.net.
.                        354953        IN        NS        h.root-servers.net.
.                        354953        IN        NS        m.root-servers.net.
.                        354953        IN        NS        l.root-servers.net.
.                        354953        IN        NS        j.root-servers.net.
.                        354953        IN        NS        i.root-servers.net.
.                        354953        IN        NS        e.root-servers.net.
.                        354953        IN        NS        d.root-servers.net.
;; Received 512 bytes from 71.252.219.43#53(71.252.219.43) in 221 ms

uk.                        172800        IN        NS        ns1.nic.uk.
uk.                        172800        IN        NS        ns2.nic.uk.
uk.                        172800        IN        NS        ns3.nic.uk.
uk.                        172800        IN        NS        ns4.nic.uk.
uk.                        172800        IN        NS        ns5.nic.uk.
uk.                        172800        IN        NS        ns6.nic.uk.
uk.                        172800        IN        NS        ns7.nic.uk.
uk.                        172800        IN        NS        nsa.nic.uk.
uk.                        172800        IN        NS        nsb.nic.uk.
uk.                        172800        IN        NS        nsc.nic.uk.
uk.                        172800        IN        NS        nsd.nic.uk.
;; Received 501 bytes from 128.63.2.53#53(128.63.2.53) in 1353 ms

mydomain.co.uk.        172800        IN        NS        ns2.provider.com.
mydomain.co.uk.        172800        IN        NS        ns1.provider.com.
mydomain.co.uk.        172800        IN        NS        ns6.provider.com.
mydomain.co.uk.        172800        IN        NS        ns5.provider.com.
;; Received 123 bytes from 156.154.102.3#53(156.154.102.3) in 74 ms

subdom.mydomain.co.uk.        21600        IN        SOA        ns1.provider.com. hostmaster.provider.com. 2011110808 108402 54201 758814 167748
;; Received 102 bytes from 199.7.69.253#53(199.7.69.253) in 7 ms

dig www.subdom.mydomain.co.uk - no such subdomain created (I am just trying to get an A Record for subdom.mydomain.co.uk)

When using http://www.digwebinterface.com the results are -

dig subdom.mydomain.co.uk

Code:

;; AUTHORITY SECTION:
subdom.mydomain.co.uk.        9324        IN        SOA        ns1.provider.com. hostmaster.provider.com. 2011110808 108402 54201 758814 167748

dig +trace subdom.mydomain.co.uk
Code:

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> +trace subdom.mydomain.co.uk. @194.74.65.69
;; global options:  printcmd
.                        262317        IN        NS        m.root-servers.net.
.                        262317        IN        NS        a.root-servers.net.
.                        262317        IN        NS        b.root-servers.net.
.                        262317        IN        NS        c.root-servers.net.
.                        262317        IN        NS        d.root-servers.net.
.                        262317        IN        NS        e.root-servers.net.
.                        262317        IN        NS        f.root-servers.net.
.                        262317        IN        NS        g.root-servers.net.
.                        262317        IN        NS        h.root-servers.net.
.                        262317        IN        NS        i.root-servers.net.
.                        262317        IN        NS        j.root-servers.net.
.                        262317        IN        NS        k.root-servers.net.
.                        262317        IN        NS        l.root-servers.net.
;; Received 512 bytes from 194.74.65.69#53(194.74.65.69) in 112 ms

uk.                        172800        IN        NS        ns1.nic.uk.
uk.                        172800        IN        NS        ns3.nic.uk.
uk.                        172800        IN        NS        ns2.nic.uk.
uk.                        172800        IN        NS        ns5.nic.uk.
uk.                        172800        IN        NS        nsc.nic.uk.
uk.                        172800        IN        NS        nsa.nic.uk.
uk.                        172800        IN        NS        ns6.nic.uk.
uk.                        172800        IN        NS        ns7.nic.uk.
uk.                        172800        IN        NS        nsd.nic.uk.
uk.                        172800        IN        NS        ns4.nic.uk.
uk.                        172800        IN        NS        nsb.nic.uk.
;; Received 501 bytes from 202.12.27.33#53(m.root-servers.net) in 55 ms

mydomain.co.uk.        172800        IN        NS        ns1.provider.com.
mydomain.co.uk.        172800        IN        NS        ns5.provider.com.
mydomain.co.uk.        172800        IN        NS        ns6.provider.com.
mydomain.co.uk.        172800        IN        NS        ns2.provider.com.
;; Received 123 bytes from 195.66.240.130#53(ns1.nic.uk) in 97 ms

subdom.mydomain.co.uk.        21600        IN        SOA        ns1.provider.com. hostmaster.provider.com. 2011110808 108402 54201 758814 167748
;; Received 102 bytes from 204.74.108.253#53(ns1.provider.com) in 26 ms

dig www.subdom.mydomain.co.uk - no such subdomain created (I am just trying to get an A Record for subdom.mydomain.co.uk)

bathory 11-08-2011 03:14 PM

You don't have an A RR for subdom.mydomain.co.uk, or at least the nameservers of your provider know nothing about it.
Tell your ISP to add the missing A RR in mydomain.co.uk zone file.

Quote:

subdom.mydomain.co.uk. 21600 IN SOA ns1.provider.com. hostmaster.provider.com. 2011110808 108402 54201 758814 167748
;; Received 102 bytes from 199.7.69.253#53(199.7.69.253) in 7 ms
Also you use ns1.provider.com as the authoritative dns for your subdomain, You should change it to ns1.mydomain.co.uk

Pete-L 11-21-2011 06:56 AM

Hello,

Just a quick update as the problem has been resolved. There was a configuration issue at the ns1.provider.com that was stopping the delegation to the subdomain, once this was resolved it all started working.

Many Thanks,
Pete


All times are GMT -5. The time now is 04:08 PM.