ispCP - Board - Support
DNS issues SERVFAIL - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: DNS issues SERVFAIL (/thread-5056.html)



DNS issues SERVFAIL - jemmrich - 12-01-2008 11:02 PM

Hi everyone,

For some reason i cannot access any of the domains on my server. And the times that I am able to access them, i am starting to think that it is because my ISP has cached the DNS records. I haven't changed any of the DNS information on the domains so everything should be working, unless something has changed when i upgraded from vhcs2 a few days ago.

I get this when i enter: "dig lwp.ca" on the command line
Code:
james@mobilewolf:~$ dig lwp.ca
; <<>> DiG 9.4.2-P2 <<>> lwp.ca
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 41824
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;lwp.ca.                IN    A

;; Query time: 46 msec
;; SERVER: 66.203.160.5#53(66.203.160.5)
;; WHEN: Mon Dec  1 07:57:11 2008
;; MSG SIZE  rcvd: 24

And here is my bind config for this domain: /var/cache/bind/lwp.ca.db

Code:
$TTL 12H
$ORIGIN lwp.ca.
@               IN              SOA             ns1.lwp.ca. postmaster.lwp.ca. (
; dmn [lwp.ca] timestamp entry BEGIN.
                         2008120110
; dmn [lwp.ca] timestamp entry END.
                8H              ; Refresh
                15M             ; Retry
                4W              ; Expire
                3H              ; Minimum TTL
)
                IN              NS              ns1.lwp.ca.
                IN              NS              ns2.lwp.ca.
                IN              MX      10      mail.lwp.ca.

lwp.ca.     IN              A               216.208.38.144
www             IN              A               216.208.38.144
lwp.ca.     IN              TXT             "v=spf1 a mx ip4:216.208.38.144 ~all"
localhost       IN              A               127.0.0.1
mail            IN              A               216.208.38.144
ns1             IN              A               216.208.38.144
ns2             IN              A               216.208.38.144
; CNAME for mail transfer
imap            IN              CNAME           mail
pop             IN              CNAME           mail
pop3            IN              CNAME           mail
relay           IN              CNAME           mail
smtp            IN              CNAME           mail
; CNAME for web transfer
ftp             IN              CNAME           www
; sub [shop.lwp.ca] entry BEGIN.
shop.lwp.ca.                            IN      A       216.208.38.144
www.shop.lwp.ca.                        IN      A       216.208.38.144
ftp.shop.lwp.ca.                        IN      A       216.208.38.144
localhost.shop.lwp.ca.  IN      A       127.0.0.1
; sub [shop.lwp.ca] entry END.

sub [toadstool.lwp.ca] entry BEGIN.
toadstool.lwp.ca.                               IN      A       216.208.38.144
www.toadstool.lwp.ca.                   IN      A       216.208.38.144
ftp.toadstool.lwp.ca.                   IN      A       216.208.38.144
localhost.toadstool.lwp.ca.     IN      A       127.0.0.1
; sub [toadstool.lwp.ca] entry END.

; sub [weather.lwp.ca] entry BEGIN.
weather.lwp.ca.                         IN      A       216.208.38.144
www.weather.lwp.ca.                     IN      A       216.208.38.144
ftp.weather.lwp.ca.                     IN      A       216.208.38.144
localhost.weather.lwp.ca.       IN      A       127.0.0.1
; sub [weather.lwp.ca] entry END.

; sub [titanux.lwp.ca] entry BEGIN.
titanux.lwp.ca.                         IN      A       216.208.38.144
www.titanux.lwp.ca.                     IN      A       216.208.38.144
ftp.titanux.lwp.ca.                     IN      A       216.208.38.144
localhost.titanux.lwp.ca.       IN      A       127.0.0.1
; sub [titanux.lwp.ca] entry END.

; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.


Is there anything i can do to figure out why this isnt working?

Here are a couple more domains hosted on the same server: motocrosscanada.ca comandracing.com mcxtreme.com

Thanks for any help,
James


RE: DNS issues SERVFAIL - joximu - 12-01-2008 11:44 PM

I get the right answer with dig - your IP.

But also a "dig @66.203.160.5 lwp.ca" prints the right answer.

One thing:
the nameservers are: ns3.bellglobal.com and ns1.motocrosscanada.ca but only the first one is valid (has an IP adress...) the second cannot be resolved.

Hope this helps...

/J


RE: DNS issues SERVFAIL - jemmrich - 12-02-2008 12:50 AM

(12-01-2008 11:44 PM)joximu Wrote:  I get the right answer with dig - your IP.

But also a "dig @66.203.160.5 lwp.ca" prints the right answer.

One thing:
the nameservers are: ns3.bellglobal.com and ns1.motocrosscanada.ca but only the first one is valid (has an IP adress...) the second cannot be resolved.

Hope this helps...

/J


Hi, I just got new secondary dns server just now. which will be valid.

The ip 66.203.160.5 is my ISPs dns server i believe, and i think it caches dns requests so it works even when things don't for others--makes it really hard to figure out where the root of the problem is.

Also, i noticed that ispcp sets up ns1 and ns2 in the zone files. Should i be using these as the primary name servers? VHCS2 i believe just called them ns without numbers, if so i will have to update all my domains primary name servers to ns1.domain.tld .

One thing also, is that walton.compar.com always works even during these times of weirdness and is the only domain i can use to ssh into my server with during these times.

Thanks,
James