LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-20-2007, 02:26 AM   #1
Deepak Gusain
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Rep: Reputation: 0
Dns not working (servfail)


Hello,

I am trying to configure DNS on my machine. My machine in on network
but not in domain.

my machine ip is static and I configured it like this

IP 192.168.0.197
S/M 255.2555.255.0
D/G 192.168.0.1
P/DNS 192.168.0.197

I configure "/etc/named.conf" file like this

zone "vir.com" IN {
type master;
file "virfor";
allow-update { none; };
};

zone "0.168.192.in-addr.arpa" IN {
type master;
file "virrev";
allow-update { none; };
};


I copied localhost.zone into virfor, and named.local to virrev

virfor configuration is


$TTL 86400
@ IN SOA www.vir.com. www.vir.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

IN NS www.vir.com.
www IN A 192.168.0.197
IN AAAA ::1

and virrev configuration is

$TTL 86400
@ IN SOA www.vir.com. www.vir.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS www.vir.com.

197 IN PTR www.vir.com.


my /etc/hosts file configuration is

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost


192.168.0.197 www.vir.com www


but when i put dig -x 192.168.0.197 it shows

; <<>> DiG 9.2.4 <<>> -x 192.168.0.197
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 31291
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;197.0.168.192.in-addr.arpa. IN PTR

;; Query time: 1 msec
;; SERVER: 192.168.0.197#53(192.168.0.197)
;; WHEN: Tue Nov 20 12:54:59 2007
;; MSG SIZE rcvd: 44

I am new to linux

pls help wether there is something wrong in configuration
 
Old 11-20-2007, 02:30 AM   #2
Deepak Gusain
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Sorry i Forget to tell that I am using RHEL 4
 
Old 12-11-2007, 03:52 AM   #3
Deepak Gusain
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Can some one help me on this
 
  


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
DDNS and nsupdate update failed SERVFAIL adi1891 Linux - Networking 1 03-08-2006 03:54 PM
NAMED (SERVFAIL message) overlord73 Linux - Software 1 01-30-2006 11:29 PM
DNS not working jonlake Linux - Networking 9 07-08-2005 01:40 AM
nslookup ** server can't find homelan.home: SERVFAIL heals1ic Linux - Networking 7 05-19-2005 07:20 PM
2(SERVFAIL) error? GraemeK Linux - Networking 7 08-21-2003 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:26 PM.

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