dynamic DNS issues - DHCP

Kevin Darcy kcd at daimlerchrysler.com
Mon Jun 21 21:48:15 UTC 2004


Bhikkhu Mettavihari wrote:

>Hi all,
>
>I am a beginner in this and do not understand this all.
>and my question is very basic.
>
>My setup is like this
>I have 2 servers with static ip's 203.115.29.130 and .139
>They run my dns and I want to setup 130 to run a dynamic dns.
>
>I also have a small network using local ip's 172.16.1.x 
>which is connected to the Internet via an adsl line.
>This network is in a different location than my dns .130
>
>Noah said:
>  
>
>>okay I am trying to set up dynamic DNS to bind on a FreeBSD box.  I have admin
>>on both client and server side.  the client is a redhat-8.0 machine with ISC
>>DHCP installed.
>>    
>>
>
>Why does one use DHCP on the client side and not just named ?
>
I don't know. Why don't you ask Noah?

>
>All my ip's on my network are local ip's in the range 172.16.1.x 
>and 10.0.0.4 which connect via a router to the adsl line
>
>My ISP has given me the adsl line 
>and on that the ip-number change from time to time.
>I do not have any control over this IP number,
>and it is that which has to be updated to my dynamic dns
>
Write a script that fetches the WAN address of the router periodically. 
Whenever it changes, update the DNS running on your static IP with the 
new WAN address by either changing the zone file and reloading the zone, 
or via the Dynamic Update protocol extension (since you said the 
static-IP box is "in a different location" than your ADSL-connected 
network, the Dynamic Updates would probably going over a public network, 
in which case you'd be wise to TSIG-sign them in order to prevent 
spoofing) . It's possible your router may even have a way to trigger 
this whole process, e.g. maybe it can be configured to send an SNMP trap 
whenever its WAN address changes (????).

Or, alternatively, get a static address for your ADSL connection, if 
your ISP offers that, or change to another ISP that offers that feature.

- Kevin




More information about the bind-users mailing list