Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
well i did as u said but i got the following error:
Starting named:
Error in named configuration:
zone localdomain/IN: loaded serial 42
zone localhost/IN: loaded serial 42
zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
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 1997022700
zone 255.in-addr.arpa/IN: loaded serial 42
zone 0.in-addr.arpa/IN: loaded serial 42
zone example.com/IN: loaded serial 42
zone 0.168.192.in-addr.arpa/IN: loaded serial 1997022700
zone my.internal.zone/IN: loading master file my.internal.zone.db: file not found
internal/my.internal.zone/IN: file not found
zone my.ddns.internal.zone/IN: loading master file slaves/my.ddns.internal.zone.db: file not found
internal/my.ddns.internal.zone/IN: file not found
zone my.external.zone/IN: loading master file my.external.zone.db: file not found
external/my.external.zone/IN: file not found
[FAILED]
Last edited by SarahGurung; 10-28-2011 at 05:53 AM.
rw-r----- 1 root root 454 Oct 28 12:36 192.168.0.zone
drwxrwx--- 2 named named 4096 Aug 25 2004 data
-rw-r----- 1 root root 402 Oct 28 16:25 example.com.zone
-rw-r----- 1 root named 198 Feb 22 2011 localdomain.zone
-rw-r----- 1 root named 195 Feb 22 2011 localhost.zone
-rw-r----- 1 root named 427 Feb 22 2011 named.broadcast
-rw-r----- 1 root named 1892 Feb 22 2011 named.ca
-rw-r----- 1 root named 424 Feb 22 2011 named.ip6.local
-rw-r----- 1 root named 426 Feb 22 2011 named.local
-rw-r----- 1 root named 427 Feb 22 2011 named.zero
drwxrwx--- 2 named named 4096 Jul 27 2004 slaves
well i did as u said but i got the following error:
Starting named:
Error in named configuration:
zone localdomain/IN: loaded serial 42
zone localhost/IN: loaded serial 42
zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
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 1997022700
zone 255.in-addr.arpa/IN: loaded serial 42
zone 0.in-addr.arpa/IN: loaded serial 42
zone example.com/IN: loaded serial 42
zone 0.168.192.in-addr.arpa/IN: loaded serial 1997022700
zone my.internal.zone/IN: loading master file my.internal.zone.db: file not found
internal/my.internal.zone/IN: file not found
zone my.ddns.internal.zone/IN: loading master file slaves/my.ddns.internal.zone.db: file not found
internal/my.ddns.internal.zone/IN: file not found
zone my.external.zone/IN: loading master file my.external.zone.db: file not found
external/my.external.zone/IN: file not found
[FAILED]
checkout the names of the missing files as you can see the mentioned files are missing so look for them in your machine
Code:
#locate (filename)
I don't think named.conf should ask for all these files
Just to make sure
have you copied
Code:
named.caching-nameserver in /var/named/chroot/etc/named.conf
ya named.caching-nameserver was copied from before only but what do you want me to copy from /usr/share/doc/bind-9.3.6 /sample/var/named/slaves because in that directory it has the following:
arm CHANGES COPYRIGHT misc README README.DBUS sample
and the files which are missing as per the output above i.e my.internal.zone.db and my.external.zone.db are present in /usr/share/doc/bind-9.3.6/sample/var/named/ but not in the /var/named/chroot/var/named/,so should i copy it there?
and the files which are missing as per the output above i.e my.internal.zone.db and my.external.zone.db are present in /usr/share/doc/bind-9.3.6/sample/var/named/ but not in the /var/named/chroot/var/named/,so should i copy it there?
Of all the bind I have configured my.internal.zone.db and my.external.zone.db were located under slaves directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.