Red Hat Configuration - dns problem

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Configuration > June 2004 > dns problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author dns problem
Paul Roddy

2004-06-17, 5:55 pm

I'm setting up named on my fedora server. I am using the chroot package and
have some zones defined and have named running. nslookup and dig return the
appropriate information when queried.

the servers hostname is ns1.foobar.com and when I do a nslookup on the
server for foobar.com, I get ** server can't find foobar.com: SERVFAIL

any thoughts of what I am doing wrong?


Alexander Dalloz

2004-06-17, 5:55 pm

On Thu, 17 Jun 2004 14:05:53 -0500 Paul Roddy wrote:

> I'm setting up named on my fedora server. I am using the chroot package and
> have some zones defined and have named running. nslookup and dig return the
> appropriate information when queried.
>
> the servers hostname is ns1.foobar.com and when I do a nslookup on the
> server for foobar.com, I get ** server can't find foobar.com: SERVFAIL
>
> any thoughts of what I am doing wrong?


You miss in the zone file for foobar.com a line

foobar.com. IN A 123.123.123.123

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653

Paul Roddy

2004-06-17, 5:55 pm

Actually, I didn't specify the NS records correctly. Your comments made me
think of changing it. I thought I didn't need to when the SOA record was
the FQDN of the domain I was entering.

I had:
@ IN SOA dns1.foobar.com. postmaster.foobar.com. (
12345678
8H
4H
1W
1D
NS dns1
NS dns2

dns1 IN A 123.123.123.123
dns2 IN A 321.321.321.321

but it looks like I should have used a FQDN when i defined my NS record. As
soon as I changed dns1 to dns1.foobar.com. it started working.

Thanks for the help Alexander


>
> You miss in the zone file for foobar.com a line
>
> foobar.com. IN A 123.123.123.123
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com