using bind on a dialup

Kevin Darcy kcd at daimlerchrysler.com
Fri Apr 5 01:00:19 UTC 2002


Christian Wittmer wrote:

> Hi NG,
>
> I want to modify my zonefiles automatically when I dialup to the internet
> so that the IP-Adress of my Nameserver is automatically changed from privat
> IP ( e.g. 19.168.0.2 ) to the IP-Adress I have when I'm connected to the
> Internet.
>
> Is that possible ?

I'm not sure why you want to do this. Presumably your external (dialup) IP is
static, since otherwise you're going to have big problems anyway trying to be
a DNS master. And presumably your internal IP is static, and only used by
other clients on your intranet. So why not just run "split DNS", where the
internal clients see the internal address and the external clients see the
external address? This should eliminate the need to go mucking around in
zonefiles. What am I missing?


- Kevin




More information about the bind-users mailing list