Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
I'm running RHE 4 AS and I'm trying to create a Domain and DNS server on the same machine. I've included below my DNS Configuration. My machine has two NICs eth0 is connect to my router and eth1 is connect to my internal network. eth1 has an internal IP address of 192.168.20.8/255.255.255.0. My DNS configuration:
named.conf *************************
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
//zone "localhost" IN {
// type master;
// file "localhost.zone";
// allow-update { none; };
//};
zone "20.168.192.in-addr.arpa.zone" IN {
type master;
file "20.168.192.in-addr.arpa.zone";
allow-update { none; };
};
zone "silsby.local" IN {
type master;
file "silsby.local.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
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 {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
include "/etc/rndc.key";
hosts ******************************
# Do not remove the following line, or various programs
# that require network functionality will fail
127.0.0.1 localhost.localdomain localhost
192.168.20.8 cscdserver8.silsby.local cscdserver8
/var/named/silsby.local.zone *****************
$TTL 86400
@ IN SOA cscdserver8.silsby.local. root.silsby.local. (
2006022601 ; serial
28800 ; refresh
7200 ; retry
604600 ; expire
86400 ; ttl
)
IN NS 192.168.20.8
/var/named/named.local ***********************
$TTL 86400
@ IN SOA localhost. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS localhost.
1 IN PTR localhost.
20.168.192.in-addr.arpa.zone ********************
$TTL 86400
@ IN SOA cscdserver8.silsby.local. root.silsby.local. (
2006022601 ; serial
28800 ; refresh
7200 ; retry
604600 ; expire
86400 ; ttl
)
IN NS 192.168.20.8
When I do a "dig" as shown below I do not get an answer for my domain "silsby.local". What's wrong in the above "dns" config that is preventing for getting an answer for my domain?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.