LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-10-2008, 11:22 AM   #1
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Rep: Reputation: 16
DNS record addition testing


I am adding a record for an existing domain that currently resides on Yahoo. How can I test my local server to confirm the new records are going to work before I have them move their NS to my server? When I dig or nslookup the domain, it is grabbing the yahoo records. I want to see the records on my server instead.

On my windoze box if I add a domain, it works locally, but this is a Redhat build and is also our primary DNS server.
 
Old 01-10-2008, 11:33 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Did you try dig this way?
Code:
# dig @dnsserver hostname
http://linux.die.net/man/1/dig

Last edited by bsdunix; 01-10-2008 at 11:36 AM.
 
Old 01-10-2008, 03:35 PM   #3
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by bsdunix View Post
Did you try dig this way?
Code:
# dig @dnsserver hostname
http://linux.die.net/man/1/dig
Yep tried it and still see it from Yahoo. So that means for some reason the server doesnt know it has the records. I added the domain to the named.conf file and did a reload of the service, but didnt restart it, does it require being restarted instead of reloaded?
 
Old 01-10-2008, 04:40 PM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
A rndc reload is supposed to reload the configuration file and zones, but since it didn't work I'd restart the named service.

Chapter 3. Name Server Configuration
http://www.isc.org/sw/bind/arm95/Bv9ARM.ch03.html
 
Old 01-15-2008, 07:46 AM   #5
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Original Poster
Rep: Reputation: 16
I found the problem. edited the wrong named.conf file. I didnt know there was one under /etc and edited the one under /var/named. It works as advertised now. thanks.
 
  


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
Reverse DNS: Why is the record on the datacenter DNS server instead? Swakoo Linux - Networking 2 09-20-2007 04:42 AM
DNS problem and MX record unkn0wn Linux - Networking 2 09-10-2007 06:53 PM
Adding dns A record ? imagineers7 Linux - Networking 2 06-28-2006 02:09 AM
Bind DNS record macadam Linux - Networking 4 06-11-2005 08:18 AM
DNS Entry Addition pradsy90 Linux - General 1 06-07-2004 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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