[SunHELP] How to update a DNS record for Bind9

Phil Stracchino alaric at metrocast.net
Mon Dec 8 17:43:45 CST 2008


Dave Sailors wrote:
> I need to move a hostname on our private network from one IP address to
> another. We are running bind9. Can I just change the
> /var/bind/internal/hosts file and then recycle named
> (/etc/init.d/named.run stop and /etc/init.d/named.run start) or do I
> need to do something else? How does it get propagated to other name
> servers?

If that's the correct file that BIND is reading, then:

(1) make the necessary changes to the A and PTR records

(2) Change the serial number in the file
    (typically date plus an ordinal, so something like 2008120801)

(3) Restart BIND, or just instruct it to reload the zone using rndc
    (most basic form:  rndc reload, but see rndc.8)



-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric at caerllewys.net   alaric at metrocast.net   phil at co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.



More information about the SunHELP mailing list