LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-22-2006, 01:44 AM   #1
linuxfunda
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
Dns question


iam trying to set up a intranet under our company, need to run 10 web sites inside our intranet, but my DNS server is not working. For a single site DNS server is working fine but more than one it is not working only resolving one site, one more question what exactly a ns record is doing inside domain zone files, How i point this NS1 and NS to main server, where i want to set up this, any help apprecited, thanks in advance
 
Old 02-22-2006, 02:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
not sure what help we're meant to provide, if you're not going to tell us anythign about what name server you are running and what your config for it looks like...
 
Old 02-22-2006, 02:49 AM   #3
linuxfunda
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Ok iam posting my configuration here is my named.conf, i my first site(mydomainexample.com) is resolving fine when i configured http,but second test.com is not working..that i said in my first only one name is resolving fine.

// generated by named-bootconf.pl

options {
directory "/var/named";
/*
* 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;
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

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 "mydomainexample.com" IN {
type master;
file "mydomainexample.com.zone";
allow-update{ none; };
};


zone "198.168.1.2.in-addr.arpa" IN {

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

zone "test.com" IN {
type master;
file "test.com.zone";
allow-update{ none;};
};
include "/etc/rndc.key";
 
Old 02-22-2006, 03:01 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Quote:
zone "198.168.1.2.in-addr.arpa" IN {
is used for rDNS (reverse DNS), so for looking up host names based on IP addresses.
The IP address must be put backwards, like the 0.0.127... stuff for the localhost zone (localhost interface always has IP address 127.0.0.1 and the entries in your conf create a local DNS zone for the localhost interface by putting 0.0.127 (defines the DNS domain/zone to which the localhost belongs).

"ns" records are DNS records for other DNS servers. They would go in the zone file to include, for instance, DNS servers for sub-domains or backup DNS servers. You may also want to put in some ns records for the domains you're part of (like .com). But standard DNS configuration manuals will tell you what config you need exactly.
 
Old 02-22-2006, 04:03 AM   #5
linuxfunda
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Original Poster
Rep: Reputation: 0
that reverse entry i corrected but not working

this is my zone file entries 1st one is my main domain name which is working fine

$TTL 86400
@ IN SOA mydomainexample.com. root.mydomainexample.com. (
2006021600
3H
1M
2W
1D )

@ IN NS ns.mydomainexample.com.
mydomainexample.com IN A 192.168.1.2


Second domain configuartion is


$TTL 86400

@ 1D IN SOA ns.test.com root@test.com (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

IN NS ns.mydomainexample.com.
test.com IN A 192.168.1.2
 
  


Reply



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 Question ckoniecny Linux - General 3 02-16-2006 05:40 PM
DNS Question LanoX Linux - Networking 27 01-19-2006 05:44 PM
DNS Question rlkiddjr Linux - Networking 1 05-18-2002 12:24 PM
dns question -- new to dns gadhiraju Linux - Networking 7 05-09-2001 05:59 PM
dns question -- new to dns gadhiraju Linux - General 2 05-09-2001 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:23 AM.

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