RE: static DNS record and DHCP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim:

>> Did you stop the DNS server and remove the journal (.jnl) files before
>> adding in your static addresses?

Steve Zeng

> Why do I need to delete .jnl files?

Because of the way changes because of leases aren't written directly to
the DNS record files, but into the journal files, and about 15 minutes
later they're used for rewriting the DNS records (or something to that
effect).

> Could you point me to some documentations about this?

It's been a while since I did this, but I think it'd be in one of the
man pages for the DHCP server.  If not, it'd be one of the HOWTO's.  I
can't think of any references at the moment, it's just one of those
things I've learnt along the way.

If I have to manually adjust the DNS records, I go through the following
steps to be sure that nothing goes wrong:

1. Stop the DHCP daemon, so it syncs all its files, and doesn't make any
changes while I'm modifying things.

2. Stop the DNS server, for the same reason.

3. Delete the journal files, as they'll be used by one of the servers to
rewrite the DNS records when the server is restarted.

4. Make my (manual) changes to the DNS records.

5. Restart the servers.

On the other hand, if you have a GUI tool for changing the records, it
might take all of that into account (making your manual changes in the
same manner that the DHCP daemon changes the DNS records).

-- 
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux