Find the answer to your Linux question:
Results 1 to 3 of 3
Hello to all!! I have a problem or more like a question about what is the file /etc/name.caching-server.conf I have Fedora Core 6 that i recently installed to make a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    26

    named.conf and named.caching-server.conf ?


    Hello to all!!

    I have a problem or more like a question about what is the file /etc/name.caching-server.conf

    I have Fedora Core 6 that i recently installed to make a server, web server. I'm trying to make a DNS Server to atach the direction that i registered... "something.net" (example of corse)

    In Fedora Core 5 i have allready configured it before.

    In that case after i installed the bind packet over yum it allready created a file named /etc/named.conf

    In FC6 after i installed the bind packet in the intallation of the system selecting it from the list the only files that was created for named was the file /etc/named.caching-server.conf and /etc/named.rc...something (i don't remember right now)

    So... how do this work? it's the new bind 9.3.4 or is another mode of it? an only caching name server? and how can i create a /etc/named.conf ?

    when i start the service named the command " grep named /var/log/messages " give me this:

    Code:
    May  2 20:49:44 server named[15639]: starting BIND 9.3.4 -u named -t /var/named/chroot
    May  2 20:49:44 server named[15639]: found 1 CPU, using 1 worker thread
    May  2 20:49:44 server named[15639]: loading configuration from '/etc/named.conf'
    May  2 20:49:44 server named[15639]: listening on IPv4 interface lo, 127.0.0.1#53
    May  2 20:49:44 server named[15639]: listening on IPv4 interface eth1, 192.168.1.254#53
    May  2 20:49:44 server named[15639]: command channel listening on 127.0.0.1#953
    May  2 20:49:44 server named[15639]: command channel listening on ::1#953
    May  2 20:49:44 server named[15639]: zone 0.in-addr.arpa/IN: loaded serial 42
    May  2 20:49:44 server named[15639]: zone 0.0.127.in-addr.arpa/IN: loaded serial 42
    May  2 20:49:44 server named[15639]: zone 255.in-addr.arpa/IN: loaded serial 42
    May  2 20:49:44 server named[15639]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 42
    May  2 20:49:44 server named[15639]: zone localdomain/IN: loaded serial 42
    May  2 20:49:44 server named[15639]: zone localhost/IN: loaded serial 42
    May  2 20:49:44 server named[15639]: running
    the line:
    Code:
    May  2 20:49:44 server named[15639]: loading configuration from '/etc/named.conf'
    say that it's getting the configuration from /etc/named.conf
    how is this possible? the file does not exist.

    If someone can help me please.

    if you need more info just ask and i will post it here.

    Thanks

  2. #2
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    I would suspect that the named.caching-server.conf is just a sample config file for a caching only nameserver, edit it how you want then rename it to named.conf and you should be all set.

  3. #3
    Just Joined!
    Join Date
    May 2006
    Posts
    26
    Thanks darkrose0510 but i allready have the answers from another forum.

    It seems that the real named.conf file is located not at "/etc/named.conf" but in "/var/named/chroot/etc/named.conf" and it is like you say, the file "named.caching-server.conf" it like an example for it, but ir works whit another file that have the zones. it uses two files to work, if you use the named.conf and not other file for the making the zones it works as a non caching name server. Of corse the files for the zone have to be created and all that..

    the file in /etc/named.conf is just an link to the original file. this is becose the bind 9 have the chroot jail to be more secure.

    i'm just leaving some info if someone have the same question in the future

    This is whit Fedora Core 6, don't know about other distributions. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •