[c-nsp] DNS Server on Cisco 1941 - add hosts dynamically

Haarwurm at arcor.de Haarwurm at arcor.de
Tue Nov 13 11:42:22 EST 2012


Hi everyone,

i have a Cisco 1941 and i'am trying to configure the internal DNS 
server. The Router is connected to a 8 Port Switch, my clients are 
connected to the Switch.
I'm using the internal dhcp server, network is 172.26.128.0 / 24. The 
DHCP Server is offering IP's, I can ping a connected client named 
"client1" by ip and by hostname.
I would like to have the router to update the host table, as shown after 
typing "sh ip hosts" dynamically after connecting a new client to the 
switch. The assignment of ip addresses is working, but the router isn't 
updating the hosts list.

Any method, to achieve my requirement?

  This is the current relevant Router configuration:

#####################

hostname Router
!
ip dhcp excluded-address 172.26.128.210
!
ip dhcp pool test
    network 172.26.128.0 255.255.255.0
    update dns both
    default-router 172.26.128.210
    dns-server 172.26.128.210
    domain-name dns.test.my-net.de
!
ip dhcp update dns override
ip domain name dns.test.my-net.de
ip host router.dns.test.my-net.de 172.26.128.210
ip host dns.test.my-net.de ns router.dns.test.my-net.de
ip host client1 172.26.128.1
ip host client1.dns.test.my-net.de 172.26.128.1
ip name-server 172.26.128.210
ip ddns update method updatetest
internal
!
ip dhcp-client update dns server both
!
interface GigabitEthernet0/0
ip address 172.26.128.210 255.255.255.0
duplex auto
speed auto
!
ip dns server
ip dns primary dns.test.my-net.de soa router.dns.test.my-net.de 
admin.dns.test.my-net.de 21600 900 7776000 86400

#####################


More information about the cisco-nsp mailing list