View Single Post
  #1  
Old 21st March 2012, 15:44
sumfvm sumfvm is offline
HowtoForge Supporter
 
Join Date: Sep 2011
Location: Strasbourg, France
Posts: 25
Thanks: 2
Thanked 1 Time in 1 Post
Default Subdomain as domain & dns things

Hi all,

Since about one week I met a serious problem with my dns server: no-one of the subdomain are accessible (sometimes it works, sometimes no).

ns1.super-hebergement.fr is my ISPconfig host (dns host of this domain is not ISPconfig host itself but managed by OVH.net DNS)

ns2.super-hebergement.fr point to the secondary dns service provide by Oneline.net, my dedicated server provider.

Exemple with clips.super-h.fr:

Quote:
dig clips.super-h.fr

; <<>> DiG 9.7.0-P1 <<>> clips.super-h.fr
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 100
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;clips.super-h.fr. IN A

;; AUTHORITY SECTION:
super-h.fr. 9855 IN SOA ns1.super-hebergement.fr. stephane.grillot.gmail.com. 2012031804 28800 7200 604800 86400

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Mar 20 06:47:26 2012
;; MSG SIZE rcvd: 118
Not ambigous status: NXDOMAIN

Another one:

Quote:
dig @ns1.super-hebergement.fr clips.super-h.fr

; <<>> DiG 9.7.0-P1 <<>> @ns1.super-hebergement.fr clips.super-h.fr
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23672
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;clips.super-h.fr. IN A

;; ANSWER SECTION:
clips.super-h.fr. 86400 IN A 88.190.230.134

;; AUTHORITY SECTION:
clips.super-h.fr. 86400 IN NS ns1.super-hebergement.fr.
clips.super-h.fr. 86400 IN NS ns2.super-hebergement.fr.

;; Query time: 4 msec
;; SERVER: 88.190.230.134#53(88.190.230.134)
;; WHEN: Tue Mar 20 06:47:14 2012
;; MSG SIZE rcvd: 104
Quote:
dig @ns2.super-hebergement.fr clips.super-h.fr

; <<>> DiG 9.7.0-P1 <<>> @ns2.super-hebergement.fr clips.super-h.fr
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52391
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;clips.super-h.fr. IN A

;; AUTHORITY SECTION:
super-h.fr. 86400 IN SOA ns1.super-hebergement.fr. stephane.grillot.gmail.com. 2012031804 28800 7200 604800 86400

;; Query time: 4 msec
;; SERVER: 88.191.254.71#53(88.191.254.71)
;; WHEN: Tue Mar 20 06:50:42 2012
;; MSG SIZE rcvd: 118
Better but doesn't explain the first result...

Quote:
dig @ns2.super-hebergement.fr clips.super-h.fr

; <<>> DiG 9.7.0-P1 <<>> @ns2.super-hebergement.fr clips.super-h.fr
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52391
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;clips.super-h.fr. IN A

;; AUTHORITY SECTION:
super-h.fr. 86400 IN SOA ns1.super-hebergement.fr. stephane.grillot.gmail.com. 2012031804 28800 7200 604800 86400

;; Query time: 4 msec
;; SERVER: 88.191.254.71#53(88.191.254.71)
;; WHEN: Tue Mar 20 06:50:42 2012
;; MSG SIZE rcvd: 118
My zone:
Quote:
zone "clips.super-h.fr" {
type master;
allow-transfer {88.191.254.71;};
file "/etc/bind/pri.clips.super-h.fr";
};
My /etc/bind/pri.clips.super-h.fr:
Quote:
$TTL 86400
@ IN SOA ns1.super-hebergement.fr. stephane.grillot.gmail.com. (
2012032001 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;

clips.super-h.fr. 86400 A 88.190.230.134
clips.super-h.fr. 86400 MX 10 mail.clips.super-h.fr.
clips.super-h.fr. 86400 NS ns1.super-hebergement.fr.
clips.super-h.fr. 86400 NS ns2.super-hebergement.fr.
mail 86400 A 88.190.230.134
www 86400 A 88.190.230.134
Nothing special so...

In doubt:
Quote:
dig ns1.super-hebergement.fr

; <<>> DiG 9.7.0-P1 <<>> ns1.super-hebergement.fr
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26757
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 4

;; QUESTION SECTION:
;ns1.super-hebergement.fr. IN A

;; ANSWER SECTION:
ns1.super-hebergement.fr. 85175 IN A 88.190.230.134

;; AUTHORITY SECTION:
super-hebergement.fr. 171575 IN NS dns18.ovh.net.
super-hebergement.fr. 171575 IN NS ns18.ovh.net.

;; ADDITIONAL SECTION:
ns18.ovh.net. 85175 IN A 213.251.128.138
ns18.ovh.net. 85175 IN AAAA 2001:41d0:1:198a::1
dns18.ovh.net. 85175 IN A 213.251.188.138
dns18.ovh.net. 85175 IN AAAA 2001:41d0:1:4a8a::1

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Mar 20 06:52:05 2012
;; MSG SIZE rcvd: 192
Sorry about my very poor english written, as you can see it, I'm a french guy
Reply With Quote
Sponsored Links