LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-26-2007, 05:14 AM   #1
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Rep: Reputation: 15
DNS configuration


Hi,

In my linux box DNS has been configured as follows:

1) in resolv.conf
nameserver 127.0.0.1

2) in 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;
// forward first;
// forwarders {
// 61.1.96.69;
// 61.1.96.71;
// };
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." IN {
type hint;
file "named.ca";
};

zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};

zone "localhost" IN {
type master;
file "localhost.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; };
};

zone "teri.res.in" IN {
type slave;
file "slaves/teri.res.in.hosts";
masters {
172.16.0.41;
};
};
zone "src.teri.res.in" IN {
type slave;
file "slaves/src.teri.res.in.hosts";
masters {
172.16.0.41;
};
};
include "/etc/rndc.key";

Now i have the following problems:

1) My linux box is not able to access 172.16.0.41 (primary DNS) for some reason
2) in our LAN name resolution is not happening for private addresses where all the users DNS is specified as 192.168.0.1 in NIC
3) not able to send emails from this server
4) this server is running named but when tried to ping for eg. ess.teri.res.in, i am getting host unknown

I want to understand the problem and fix given the above scenario.

regards,

T. Saravana
 
Old 11-10-2007, 10:59 PM   #2
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
For 1), 2) and 4), Check your logs to ensure the slave zones are not being denied transfer to this name server.

3) Mail sending issues are varied and could be entirely unrelated. Fix 1, 2, and 4 first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS configuration immortaltechnique Red Hat 7 02-01-2013 08:46 AM
DNS configuration namdn Linux - Security 1 07-20-2004 09:02 PM
DNS Configuration anibiswas Libranet 3 03-15-2004 08:56 PM
DNS Configuration romel Linux - Newbie 4 09-22-2003 09:45 AM
DNS configuration Supraj Linux - Newbie 4 01-29-2002 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration