LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-19-2013, 12:22 PM   #1
johnmani
LQ Newbie
 
Registered: Nov 2013
Posts: 3

Rep: Reputation: Disabled
SERVFAIL, id: 12875 when dig against my server


Good morning thanks for helping.

When I use kloth or digwebinterface against my dns server I get connection timed out, or servfail error messages. Here is the servfail message I get when I dig from the server itself.

dig dns1.snap.lib.ca.us

; <<>> DiG 9.2.4 <<>> dns1.snap.lib.ca.us
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 12875
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;dns1.snap.lib.ca.us. IN A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Nov 19 12:13:00 2013
;; MSG SIZE rcvd: 37

This particular server has been up and running/functioning for years. We were alerted by the .US registrar in October (didn't receive the email) and today they parked the domain and sent another email that we received. Our domain is currently parked, and the linux admin retired and I'm trying to fumble my way through this. Any help would be super appreciated.
 
Old 11-19-2013, 04:09 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
It works fine from here:
Code:
; <<>> DiG 9.9.4-P1 <<>> dns1.snap.lib.ca.us
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49668
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;dns1.snap.lib.ca.us.           IN      A

;; ANSWER SECTION:
dns1.snap.lib.ca.us.    17280   IN      A       66.127.213.223

;; AUTHORITY SECTION:
snap.lib.ca.us.         7200    IN      NS      dns1.snap.lib.ca.us.
snap.lib.ca.us.         7200    IN      NS      soar.snap.lib.ca.us.

;; ADDITIONAL SECTION:
soar.snap.lib.ca.us.    7200    IN      A       66.127.213.248

;; Query time: 533 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Nov 19 23:08:08 EET 2013
;; MSG SIZE  rcvd: 113
 
1 members found this post helpful.
Old 11-19-2013, 04:16 PM   #3
johnmani
LQ Newbie
 
Registered: Nov 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Bathory

I seem to be able to dig it from the server itself now, and I think digwebinterface is working, but kloth isn't. Neustar parked our domain today, and said they couldn't get requests from our server since before Oct. 11th.

I'll keep investigating and see what I can see. Thanks for looking into this though.
 
Old 11-19-2013, 04:55 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
According to this your server didn't respond, so check if there is a firewall blocking port 53 udp
From here I too get a SERVFAIL if I use your dns to resolve your domain. So you may post the zone file and named.conf to see if there is something wrong.
 
Old 11-19-2013, 05:43 PM   #5
johnmani
LQ Newbie
 
Registered: Nov 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
//
// named.conf for Red Hat master dns server
//

options {
version "Bind";
directory "/var/named";
allow-transfer { 192.168.90.0/24; localhost; };
recursion no;
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
};

//
// a master name server
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "snap.lib.ca.us" IN {
type master;
file "db.hosts";
};

zone "solano.lib.ca.us" IN {
type master;
file "db.libus";
};

zone "solanolibrary.com" IN {
type master;
file "db.libcom";
};

zone "solanocountylibrary.com" IN {
type master;
file "db.sclcom";
};

zone "solanolibrary.net" IN {
type master;
file "db.libnet";
};

zone "solanolibrary.org" IN {
type master;
file "db.liborg";
};

zone "solanocountylibrary.org" IN {
type master;
file "db.sclcom";
};

zone "213.127.66.in-addr-arpa" IN {
type master;
file "/db.66.127.213";
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/rndc.key";



And Zone file:

;
; Authoritative data for snap.lib.ca.us
;
snap.lib.ca.us. IN SOA soar.snap.lib.ca.us. postmaster.soar.snap.lib.ca.us. (
2013062601 ; Serial number
10800 ; Refresh
3600 ; Retry
604800 ; Expire
17280 ) ; Default time-to-live
; Name Servers
;
snap.lib.ca.us. IN A 66.127.213.248
IN NS soar.snap.lib.ca.us.
IN NS dns1.snap.lib.ca.us.
;
; Mail Exchangers
;
snap.lib.ca.us. IN MX 10 mail1.snap.lib.ca.us.
snap.lib.ca.us. IN MX 15 mailhost.snap.lib.ca.us.
;
snap.lib.ca.us. IN TXT "v=spf1 a mx ptr ~all"
; Host Information
;
;soar IN HINFO SUN SPARC Ultra UNIX
;
; Aliases
;
www IN CNAME soar
snapweb IN CNAME starship
;
; Address Records (net-1)
;
soar IN A 66.127.213.248
www IN A 66.127.213.248
mailhost IN A 66.127.213.225
mail1 IN A 66.127.213.225
ecard IN A 66.127.213.249
ecarddev IN A 66.127.213.249
dns1 IN A 66.127.213.223
m IN A 66.127.213.249
mtest IN A 66.127.213.249
carlweb IN A 66.127.213.235
ls2pac IN A 66.127.213.237
libonline IN A 66.127.213.190
mjsdev IN A 66.127.213.166




Thanks again for the help.

- John
 
Old 11-20-2013, 01:44 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
Hi,

You have 2 www records. Comment out or remove the line:
Quote:
www IN CNAME soar
Also there is no A record for the starship host, so better remove the 2nd CNAME also
 
  


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
[SOLVED] DNS Server Related Problem: ** server can't find w3icon.com: SERVFAIL tonmoy Linux - Server 5 09-09-2013 05:26 AM
server can't find mydomain.com: SERVFAIL renuaseri Linux - Newbie 1 07-13-2009 06:28 AM
server can't find example.com: SERVFAIL redhat user Linux - Server 1 05-29-2009 04:42 PM
rhel5 in vmware gives servfail when dig zmagler Red Hat 0 12-16-2008 04:16 PM
bind9 - dig -x returns - status: SERVFAIL eliufoo Linux - Server 4 05-19-2008 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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