LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-02-2009, 04:50 AM   #1
soumalya
Member
 
Registered: Nov 2006
Posts: 256

Rep: Reputation: 31
Bind server problem


Sir

I am using centos 5.2
machine name proxy1.central.edu
ip 172.16.0.3

have configured bind and its start ok
but when i use dig its shows
dig @proxy1.central.edu

; <<>> DiG 9.3.4-P1 <<>> @proxy1.central.edu
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 32421
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;. IN NS

;; Query time: 126 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Sep 2 14:30:04 2009
;; MSG SIZE rcvd: 17


No answer

I have attcahed my zone and named.conf file



please help me to solve.

thanks
Attached Files
File Type: txt named.txt (4.3 KB, 2 views)
File Type: txt proxy1.central.edu.db.txt (275 Bytes, 1 views)
 
Old 09-02-2009, 05:28 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
So, the zone name is proxy1.central.edu and in the zonefile you define the NS as proxy1.central.edu (i.e. the domain and the dns are the same) and right after that the A record for proxy1to be 127.0.0.1. Also note that with this zonefile, the FQDN for host proxy is: proxy.proxy1.central.edu!!!
If that's what you want, try the following zonefile:
Code:
$TTL    86400
@               IN SOA  proxy1.central.edu.       root.proxy1.central.edu. (
                                        44              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

                IN NS           proxy1.central.edu.
proxy1.central.edu.                IN A            172.16.0.3
proxy           IN a            172.16.0.3
                IN AAAA         ::1
Regards
 
  


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
bind problem :bind domain not getting resolved abhijit_mohanta Linux - Networking 7 09-01-2009 03:37 AM
Bind problem: config files are missing after re-install bind 9.5 on Fedora Core 8 elvisious Linux - Software 1 07-15-2008 07:49 PM
Setup DNS server on Ubuntu 7.04 Server edition using Bind 9 breezey Linux - Server 2 09-16-2007 03:36 AM
Problem on DNS server using Bind r_balest Linux - Server 9 11-02-2006 02:06 AM
How do I import bind ".hosts" files into another BIND server chantman Linux - Software 0 06-30-2006 11:51 AM


All times are GMT -5. The time now is 05:57 PM.

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