DNS-question

Johann Spies <jspies-/[email protected]>
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
We have a class B network. Our DNS-servers' data gets updated every 10
minutes - dumped from a database.

With two similar entries in the named data-files I get different
results when querying them.  Why would that be?

The following example illustrates my problem:

Entries in the named datafiles:

> sudo grep bywoner *
db.sun:bywoner.sun.ac.za. in a 146.232.129.121
db.sun.rev:121.129.232.146.in-addr.arpa. in ptr bywoner.sun.ac.za.


> sudo grep kaaskas *
db.sun:kaaskas.sun.ac.za. in a 146.232.128.39
db.sun.rev:39.128.232.146.in-addr.arpa. in ptr kaaskas.sun.ac.za.

Now dns-queries:

> host bywoner
bywoner.sun.ac.za has address 146.232.129.121

> host kaaskas
Host kaaskas not found: 3(NXDOMAIN)


> host 146.232.129.121
121.129.232.146.in-addr.arpa domain name pointer bywoner.sun.ac.za.

> host 146.232.128.39
39.128.232.146.in-addr.arpa domain name pointer kaaskas.sun.ac.za.


> dig bywoner.sun.ac.za

; <<>> DiG 9.2.1 <<>> bywoner.sun.ac.za
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2258
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 2

;; QUESTION SECTION:
;bywoner.sun.ac.za.		IN	A

;; ANSWER SECTION:
bywoner.sun.ac.za.	86400	IN	A	146.232.129.121

;; AUTHORITY SECTION:
sun.ac.za.		86400	IN	NS	hippo.ru.ac.za.
sun.ac.za.		86400	IN	NS	ucthpx.uct.ac.za.
sun.ac.za.		86400	IN	NS	maties1.sun.ac.za.
sun.ac.za.		86400	IN	NS	maties2.sun.ac.za.
sun.ac.za.		86400	IN	NS	rain.psg.com.

;; ADDITIONAL SECTION:
maties1.sun.ac.za.	86400	IN	A	146.232.128.1
maties2.sun.ac.za.	86400	IN	A	146.232.128.10

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jul 25 11:20:44 2003
;; MSG SIZE  rcvd: 201

> dig kaaskas.sun.ac.za

; <<>> DiG 9.2.1 <<>> kaaskas.sun.ac.za
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52267
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;kaaskas.sun.ac.za.		IN	A

;; AUTHORITY SECTION:
sun.ac.za.		86400	IN	SOA	maties1.sun.ac.za. sysadm.sun.ac.za. 2003072221 28800 3600 604800 86400

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jul 25 11:20:51 2003
;; MSG SIZE  rcvd: 86


Regards.
Johann

-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Look not every man on his own things, but every man 
      also on the things of others."        Philippians 2:4 
-- 
Clug-tech mailing list
[email protected]
To (un)subscribe:
http://lists.clug.org.za/mailman/listinfo/clug-tech


-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Look not every man on his own things, but every man 
      also on the things of others."        Philippians 2:4 
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.