LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-31-2005, 07:48 PM   #1
lmbullerman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
X-windows interface for named


We are moving from RedHat 8 to Enterprise Server 3. We are trying to get DNS zones set up using the interface within x-windows. The zone files are correct as far as we can tell. However, if I do an nslookup, set my server to this new server, I get back "ns1.xxx.com can't find yyy.com: Server failed". We have disabled the firewall on this name server, but we still cannot get through. Any ideas?
 
Old 08-31-2005, 08:11 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Can you perform name lookups locally?
 
Old 08-31-2005, 08:12 PM   #3
lmbullerman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
no, we get the same server fail response back.
 
Old 08-31-2005, 09:15 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What do you get if you run "dig @server somehostname"? (Full output please)
 
Old 08-31-2005, 09:24 PM   #5
lmbullerman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I can resolve things from the server. And I can resolve things that would go through a forwarder (i.e. www.microsoft.com). I can telnet to it, and it seems to respond--I don't get anything on the screen, but it doesn't blow the command line away.

; <<>> DiG 9.2.2 <<>> 66.43.159.60 www.redhat.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4643
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;66.43.159.60. IN A

;; AUTHORITY SECTION:
. 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISI GN-GRS.COM. 2005083100 1800 900 604800 86400

;; Query time: 25 msec
;; SERVER: 66.43.159.60#53(66.43.159.60)
;; WHEN: Wed Aug 31 21:13:12 2005
;; MSG SIZE rcvd: 105

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47613
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;www.redhat.com. IN A

;; ANSWER SECTION:
www.redhat.com. 60 IN A 209.132.177.50

;; AUTHORITY SECTION:
redhat.com. 600 IN NS ns3.redhat.com.
redhat.com. 600 IN NS ns1.redhat.com.
redhat.com. 600 IN NS ns2.redhat.com.

;; Query time: 239 msec
;; SERVER: 66.43.159.60#53(66.43.159.60)
;; WHEN: Wed Aug 31 21:13:13 2005
;; MSG SIZE rcvd: 102



If I dig to one of the records we are hosting, here's what I get:

; <<>> DiG 9.2.2 <<>> www.healthyoptionsbelair.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 8294
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.healthyoptionsbelair.com. IN A

;; Query time: 0 msec
;; SERVER: 66.43.159.60#53(66.43.159.60)
;; WHEN: Wed Aug 31 21:19:04 2005
;; MSG SIZE rcvd: 46
 
Old 08-31-2005, 09:27 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Interesting, the server gives no results at all. Has Bind been restarted since configuring the zone file?
 
Old 08-31-2005, 09:28 PM   #7
lmbullerman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
many, many times. server has been rebooted 2 or 3 times as well.
 
Old 08-31-2005, 09:42 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Are the bind logs showing any errors in reading the zone files or similar? Can you be sure it is seeing the zones?
 
Old 08-31-2005, 09:53 PM   #9
lmbullerman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I think that's the only place we hadn't looked. The log names the zone file, then says it can't find it. We were just coming to the conclusion that there are a few lines in the named.conf from the old (now dead) server that mention file locations. As the named.conf has built itself on this new server, such lines have not appeared. In all the research we're doing, we keep reading big warnings about not directly editing the named.conf file. We did find some of this file location information in named.custom, but not as much as we had in the old.

beginning of named.conf from old server:
include "/etc/named.custom";

include "/etc/rndc.key";

options {
directory "/var/named/";
};


none of those lines appear in the new named.conf
but, in named.custom, we have:
zone "." { zone "." { zone "." { zone "." {
type hint;
file "named.ca";
};

options {
directory "/var/named/";
};

type hint;
file "named.ca";
};

options {
directory "/var/named/";
};

type hint;
file "named.ca";
};

options {
directory "/var/named/";
};

type hint;
file "named.ca";
};

options {
directory "/var/named/";
};


Indeed, the zone files for our hosted records live in /var/named--I did confirm that. I guess the question is, do those lines from the old named.conf need to make their way into the new, and if so, what's the "proper" way to add, since we're not supposed to directly edit.


We greatly appreciate the help you are providing!
 
Old 08-31-2005, 10:54 PM   #10
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What does named.conf on the new server show? And that named.custom is very odd with the identical zone-in-zone-in-zone-in-zone deal.
 
Old 09-01-2005, 08:38 AM   #11
lmbullerman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
named.conf on the new server only has the two zones for the DNS records we had created--nothing more. I asked about that zone-in-zone thing and was told it is for reverse lookup purposes.
 
  


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
Most Windows-like interface piggysmile Linux - Software 13 06-05-2004 04:47 AM
cannot find named.conf and /var/named kaushikma Red Hat 1 02-07-2004 12:49 PM
How Can I Interface between Fedora Linux Core One and Windows XP? sxa Linux - Networking 8 01-07-2004 12:20 AM
Virtual Host type, named or IP via SSL? Named VH is not possible? piratebiter Linux - Security 3 08-20-2003 05:27 PM
eth0 interface intialization fails during reboot from windows to linux dhanakom Linux - Networking 6 07-20-2003 07:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:46 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