LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-15-2007, 04:52 PM   #1
breezey
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Rep: Reputation: 0
Setup DNS server on Ubuntu 7.04 Server edition using Bind 9


I followed the tutorial I found here:

http://ubuntuforums.org/showthread.php?t=236093

to setup dns server on my Ubuntu 7.04 Server edition. But I got ANSWER:0 when I do dig mydomain and can't find mydomain when I do nslookup. Below is the result of both dig and nslookup. I would appreciate if anyone could point me to the problem and how to fix it. Thank you very much.

Code:
home@ubuntu:/$ dig mydomain

; <<>> DiG 9.3.4 <<>> mydomain
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47194
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mydomain.                      IN      A

;; AUTHORITY SECTION:
mydomain.               38400   IN      SOA     ns1.mydomain. admin.mydomain. 2006081401 28800 3600 604800 38400

;; Query time: 2 msec
;; SERVER: 192.168.1.109#53(192.168.1.109)
;; WHEN: Sun Sep 16 11:23:51 2007
;; MSG SIZE  rcvd: 72

home@ubuntu:/$ nslookup mydomain
Server:         192.168.1.109
Address:        192.168.1.109#53

*** Can't find mydomain: No answer
 
Old 09-16-2007, 12:15 AM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Maybe post your BIND configuration?
 
Old 09-16-2007, 03:36 AM   #3
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
run named-checkzone zone_name zone_file
 
  


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
LXer: DNS server Setup using bind in Ubuntu LXer Syndicated Linux News 0 05-03-2007 12:16 AM
Setting up BIND DNS server on Ubuntu server tanu221984 Linux - Software 2 04-13-2007 11:36 AM
How do I setup a Bind DNS Server Wynand1 Linux - Networking 1 05-29-2006 03:44 PM
BIND DNS Setup on new server brooky Linux - General 0 04-03-2004 09:54 AM
need help to setup dns server with bind 9.1.0 joseph Linux - General 7 09-01-2003 01:11 AM


All times are GMT -5. The time now is 11:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration