DHCP Client Dynamic DNS

Unanswered Question
Jan 8th, 2010

Has anyone has any luck getting DHCP clients to register properly with IOS DNS server? I've given this a crack on various routers and I'm just about ready to give up and call it a beta capability.

If you have a look at my debug below, I can successfully create dynamic PTR records on the local server, but if you look at the attempt to create an A record, it can't detect the zone (despite being quite clear in the debug) and tries to register against the root DNS servers (A.ROOT-SERVERS.NET 198.41.0.4).

This is attempting to register a Vista client in DNS with a 2811 running both 12.4(24)T2 and 15.0(1)M. Note if I remove the override arguement in the DHCP pool, it only updates the PTR.

Also, unsure if its relevant to this config but I'm also using DDNS to register a IPCP WAN interface.

DHCPD: DHCPDISCOVER received from client 0100.1f5b.cfed.bc on interface FastEthernet0/0.101.
DHCPD: Sending DHCPOFFER to client 0100.1f5b.cfed.bc (192.168.1.213).
DHCPD: broadcasting BOOTREPLY to client 001f.5bcf.edbc.
DHCPD: DHCPREQUEST received from client 0100.1f5b.cfed.bc.
DHCPD: Appending default domain from pool
DHCPD: Using hostname 'Macdesk.domain.local.' for dynamic update (from FQDN option)


DHCPD: Doing dynamic update...

DHCPD: Updating 'PTR' RR 192.168.1.213 -> 'Macdesk.domain.local.'

DHCPD: Updating 'A' RR 'Macdesk.domain.local.' -> 192.168.1.213
DDNS: Enqueuing new DDNS update 'Macdesk.domain.local.' <=> 192.168.1.213

DHCPD: Sending DHCPACK to client 0100.1f5b.cfed.bc (192.168.1.213).
DHCPD: Including FQDN option name 'Macdesk.domain.local.' rcode1=255, rcode2=255 flags=0x3
DHCPD: broadcasting BOOTREPLY to client 001f.5bcf.edbc.

DDNS: Zone name for '213.1.168.192.in-addr.arpa.' is '168.192.in-addr.arpa'

DDNS: Dynamic Update 1: (sending to server 127.0.0.1)
DDNS:   Zone = 168.192.in-addr.arpa
DDNS:   Prerequisite: 213.1.168.192.in-addr.arpa. not in use
DDNS:   Update: add 213.1.168.192.in-addr.arpa. IN PTR Macdesk.domain.local.
DDNS: Dynamic DNS Update 1 (PTR) for host Macdesk.domain.local. returned 0 (NOERROR)

DHCPD: DHCPINFORM received from client 0100.1f5b.cfed.bc (192.168.1.213).
DHCPD: Sending DHCPACK to client 0100.1f5b.cfed.bc (192.168.1.213).
DHCPD: unicasting BOOTREPLY to client 001f.5bcf.edbc (192.168.1.213).

DDNS: Zone name for 'Macdesk.domain.local.' is '
DDNS: Dynamic Update 1: (sending to server 198.41.0.4)
DDNS:   Zone =
DDNS:   Prerequisite: Macdesk.domain.local. not in use
DDNS:   Update: add Macdesk.domain.local. IN A 192.168.1.213
DDNS: Dynamic DNS Update 1 (A) for host Macdesk.domain.local. returned 0 (NOERROR)
DDNS: Update of 'Macdesk.domain.local.' <=> 192.168.1.213 failed

Config:

ip dhcp pool WIRELESS
network 192.168.1.0 255.255.255.0
update dns both override
default-router 192.168.1.1
dns-server 192.168.1.1
domain-name domain.local

ip dhcp update dns both
ip domain name domain.local


ip host domain.local ns ns.domain.local
ip host nas.domain.local 192.168.2.12
ip host ns.domain.local 192.168.1.1 192.168.2.1

ip dns server
ip dns primary domain.local soa ns.domain.local admin@domain.local 21600 900 7776000 86400

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)

Actions

Login or Register to take actions

This Discussion

Posted January 8, 2010 at 3:00 AM
Stats:
Replies:1 Avg. Rating:
Views:6431 Votes:0
Shares:0
Tags: dns, dhcp, ddns
+

Related Content

Discussions Leaderboard

Rank Username Points
1 2,069
2 1,736
3 1,675
4 1,624
5 1,529