Re: How to reference dynamic IP with named DNS

From: Brian Gaynor (briang_at_pmccorp.com)
Date: 04/20/05

  • Next message: Michael Hennebry: "Re: dhcp evils"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Tue, 19 Apr 2005 23:02:34 -0700
    
    

    On Wed, 2005-04-20 at 15:27 +1000, Neil Dugan wrote:
    > I have a local network with a couple of server computers setup with
    > static IP addresses. I also have 2 computers with dynamic IP addresses
    > gotten though DHCP. Using 'named' as a DNS I can access the 2 server
    > computers via names. But I haven't been able to figure out how to be
    > able to access the computers with dynamic IP address via a name. I can
    > access them fine with there IP address.

    This is easy if as long as one of the Fedora servers is also the DHCP
    server. It may not be possible if your DHCP server is a consumer grade
    appliance (e.g. a wireless router box) as these devices cannot typically
    be configured to send the notifications as far as I know. You need to
    configure the DHCP daemon to do dynamic updates - add the following to
    the top of /etc/dhcpd.conf:

        ddns-update-style interim;
        ddns-updates on;

    Assuming the DHCP server is on the same machine as named, you need to
    add "allow-update { localhost; };" to the appropriate zone sections
    in /etc/named.conf. For example:

    zone "1.168.192.in-addr.arpa" {
        type master;
        file "1.168.192.in-addr.arpa.zone";
        allow-update { localhost; };
    };

    zone "mydomain.com" {
        type master;
        file "mydomain.com.zone";
        allow-update { localhost; };
    };

    -- 
    Brian Gaynor
    www.pmccorp.com
    FC3/Linux on DELL Inspiron 5160 3.0Ghz 
    canis 22:42:04 up 27 min, 2 
    users, load average: 0.28, 0.29, 
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Michael Hennebry: "Re: dhcp evils"

    Relevant Pages

    • RE: New Update for #70-299
      ... > Segment A contains a single server named TestKing1. ... > Segment B contains all other computers, ... > TestKing?s written security policy states that Segment B ... > Updates on all computers in Segment B to use ...
      (microsoft.public.cert.exam.mcse)
    • Re: Help with 070-217
      ... The network contains 25,000 computers. ... > single Windows 2000 domain named research.contoso.com. ... > Server computers that are configured as domain controllers. ...
      (microsoft.public.cert.exam.mcse)
    • RE: Help with 070-217
      ... The network contains 25,000 computers. ... > single Windows 2000 domain named research.contoso.com. ... > Server computers that are configured as domain controllers. ...
      (microsoft.public.cert.exam.mcse)
    • Re: Cannot browse or open shared printers or server on sbs 2003 from client pc
      ... i think the network problem has taken a different turn. ... meanwhile if i access the mapped drives to the server which we setup in the ... my thought now is what is the update mechanism for the printers from the ... I understand the issue to be: client computers can ...
      (microsoft.public.windows.server.sbs)
    • Help with 070-217
      ... The network contains 25,000 computers. ... single Windows 2000 domain named research.contoso.com. ... Server computers that are configured as domain controllers. ...
      (microsoft.public.cert.exam.mcse)