Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
//
// 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;
forwarders {
192.168.1.254;
};
};
//
// a caching only nameserver config
//
controls {
inet 192.168.1.2 port 53 allow { 192.168.1.0; } keys { rndckey; };
};
include "/etc/rndc.key";
zone "0.1.168.192.in-addr.arpa" {
type master;
file "/var/named/192.168.1.0.rev";
};
zone "ipcoms.com" {
type master;
file "/var/named/ipcoms.com.hosts";
};
When I try "nslookup" at this linux box, it seems okay, can resolve name to ip. However, when i try to point DNS server on Windows box to that server, use "nslookup" to test, it responds that not found server.
1. My Windows box stays on the same subnet with Linux box.
2. There's a firewall on Linux box but port 53 is opened. I capture packet by Ethereal and see request and reply packet on port 53.
3. Maybe my reverse lookup zone was wrong as linuxamil comment. I will try to modify it.
Anyways, after i have rebooted Linux box, my BIND seems not running now. I can not nslookup though I am on the Linux. I have stared named deamon:
Code:
[root@spider ~]# ps -ef | grep named
named 3272 1 0 Oct21 ? 00:00:00 /usr/sbin/named -u named -t /var/named/chroot
root 11282 11249 0 21:22 pts/1 00:00:00 grep named
[root@spider ~]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.