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

[cobalt-users] [RaQ3] Problems with root hints



My root hints file is deleted everytime I save DNS info via the GUI. I then
have to copy a file called root.hints to /etc/named/root.hints, edit
/etc/named.conf to reflect this and then restart ndc manually. This is too
much of a hassle for someone who almost failed typing class.

Can anyone suggest how to make root.hints stick in the /etc/named/
directory? There is a hint file there called db.cache. I believe the root of
this misery is that I once dumped the resident DNS data and maybe altered
this file (in my early Cobalt days :). Are the root servers meant to be
referenced in db.cache? If not, which file?

This is how my named.conf look like (on the top) after saving DNS from GUI:

options {
        directory "/etc/named";
};
zone "." { type hint; file "db.cache"; };

I delete the last line and paste in this:

zone "." { type hint; file "root.hints"; };

and restart ndc. Arrgg!!


Per M Knutsen
http://nethut.no/~pknutsen