LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-05-2005, 10:14 PM   #1
turnbui
Member
 
Registered: Jul 2005
Location: UK
Posts: 101

Rep: Reputation: 15
More DNS woes in the operation of DNS


Hello again folks. Can I interest you into answering this query please.

I have recently managed to get BIND9 working on my machine but I have some observations I'm in need of clarification on.
Whilst I understand that a DNS server is meant to be on-line more than 8 hours a day, even 24 X 7 at some point it will inevitably fail or be taken off-line for upgrades etc.

Each time I reboot mine I have to use nsupdate to delete the A records before the other computers are booted otherwise I get the dreaded "name not in use" and RRset exists messages.

Is this normal practice or is it the way I've done it. I did follow a HOW-TO for the original set up and checked my configuration with a lot of googling and other HOW-TO's but who knows for sure. I'm hoping this is the place to get a definitive answer.

I am using DHCP and the DHCP server i the same as the DNS one. Initially I used the Nicolai Langfeldt dns-howto ""How to become a totally small time DNS admin". I found it via google and for a first timer it was a great start. Perhaps a small adendum on what to look for in the logs would have been helpfuk but well it was easy to follow.

I'm using ethereal to trace the DNS on port 53 and DHCP on ports 67 + 68 and do see the updates happening and the DNS queries + responses.
I have checked the reverse lookups and cleared the cache on the Win-XP box and ping'd my box to check if the resolve works. It appears to be fine placing entries in the Win-XP cache.

Not sure what else would be useful. After I power my server off and reboot I use dig to check what's there and the A TXT records have alll gone but the
ian-test.turnbui.com 1800 A 192.168.1.3
record iss still there. When I then reboot this Win-XP workstation I get the error described earlier ie.

Sep 6 02:14:39 turnbui named[3618]: client 192.168.3.1#32967: transfer of 'turnbui.com/IN': AXFR started
Sep 6 02:20:19 turnbui dhcpd: DHCPDISCOVER from 00:d0:09:f5:94:03 via eth1
Sep 6 02:20:20 turnbui dhcpd: DHCPOFFER on 192.168.1.13 to 00:d0:09:f5:94:03 (iant-21) via eth1
Sep 6 02:20:20 turnbui named[3618]: client 192.168.1.7#32947: updating zone 'turnbui.com/IN': update failed: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 6 02:20:20 turnbui named[3618]: client 192.168.1.7#32947: updating zone 'turnbui.com/IN': update failed: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
Sep 6 02:20:20 turnbui dhcpd: Can't update forward map iant-21.turnbui.com to 192.168.1.13: no such RRset
Sep 6 02:20:20 turnbui dhcpd: DHCPREQUEST for 192.168.1.13 (192.168.1.7) from 00:d0:09:f5:94:03 (iant-21) via eth1
Sep 6 02:20:20 turnbui dhcpd: DHCPACK on 192.168.1.13 to 00:d0:09:f5:94:03 (iant-21) via eth1

I've got these other log records here where when the DHCP lease expires the A TXT recs get deeleted such that they don't show up in dig output until lease is retried next ???

Sep 6 02:20:20 turnbui dhcpd: DHCPACK on 192.168.1.13 to 00:d0:09:f5:94:03 (iant-21) via eth1

Sep 6 03:10:26 turnbui named[3618]: client 192.168.1.7#32970: updating zone 'turnbui.com/IN': deleting an RR
Sep 6 03:10:26 turnbui dhcpd: if iant-21.turnbui.com IN TXT "310abf7fdd30ddd7624a76adc762972a71" rrset exists and iant-21.turnbui.com IN A 192.168.1.13 rrset exists delete iant-21.turnbui.com IN A 192.168.1.13: success.
Sep 6 03:10:26 turnbui named[3618]: client 192.168.1.7#32970: updating zone 'turnbui.com/IN': deleting an RR
Sep 6 03:10:26 turnbui dhcpd: if iant-21.turnbui.com IN A rrset doesn't exist delete iant-21.turnbui.com IN TXT "310abf7fdd30ddd7624a76adc762972a71": success.
Sep 6 03:10:26 turnbui named[3618]: client 127.0.0.1#32970: updating zone '1.168.192.in-addr.arpa/IN': deleting an rrset
Sep 6 03:10:26 turnbui dhcpd: removed reverse map on 13.1.168.192.in-addr.arpa
Sep 6 03:10:26 turnbui dhcpd: Wrote 7 leases to leases file.

Hope this helps you to help me?

Thanks for any help you can afford.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Woes cortj Linux - Networking 0 03-07-2005 05:28 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
dns woes elvee Linux - Networking 2 09-29-2004 09:33 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration