Dear users, I'm in a fresh installation of IspConfig 3 using the guide: http://www.howtoforge.com/perfect-s...hp-mysql-pureftpd-bind-dovecot-ispconfig-3-p4 Even if the DNS service is active, I still face "domain not resolving errors" whiile I set the NS1 and NS2 with the value setup in my VPS. I took one domain and I setup the DNS with the default values of the VPS already configured which is: NS1: vpsXXX.ovh.net NS2: sdns2.ovh.net I got this info with the command dig vpsXXX.ovh.net : Code: ; <<>> DiG 9.9.5-3-Ubuntu <<>> vpsXXX.ovh.net ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23156 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;vpsXXX.ovh.net. IN A ;; ANSWER SECTION: vpsXXX.ovh.net. 3600 IN A 92.xx.xx.xx ;; AUTHORITY SECTION: vpsXXX.ovh.net. 3600 IN NS sdns2.ovh.net. vpsXXX.ovh.net. 3600 IN NS vpsXXX.ovh.net. ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu May 29 10:50:55 CEST 2014 ;; MSG SIZE rcvd: 95 Result: doesn't work. Then I took another domain and I set up the DNS with the following: Ns1: ns107.ovh.net Ns2: dns107.ovh.net Info taken using the IP of the machine dig -x 92.xx.xx.xx The command says: Code: ; <<>> DiG 9.9.5-3-Ubuntu <<>> -x 92.xx.xx.xx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21637 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 5 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;70.28.222.92.in-addr.arpa. IN PTR ;; ANSWER SECTION: 70.28.222.92.in-addr.arpa. 84218 IN PTR 70.ip-xxx-xxxx.eu. ;; AUTHORITY SECTION: 28.222.92.in-addr.arpa. 170618 IN NS ns107.ovh.net. 28.222.92.in-addr.arpa. 170618 IN NS dns107.ovh.net. ;; ADDITIONAL SECTION: ns107.ovh.net. 24402 IN A 213.251.128.151 ns107.ovh.net. 71164 IN AAAA 2001:41d0:1:1997::1 dns107.ovh.net. 23941 IN A 213.251.188.151 dns107.ovh.net. 71164 IN AAAA 2001:41d0:1:4a97::1 ;; Query time: 11 msec ;; SERVER: 213.186.33.99#53(213.186.33.99) ;; WHEN: Thu May 29 10:45:21 CEST 2014 ;; MSG SIZE rcvd: 222 Result: still doesn't work. Then, for the last check, I've created a private name server in my Domain Name Provider and I created the Zone in IspConfig. I took another domain and I set up the NS as configured in IspConfig. Result, nothing. In all of these 3 cases the DNS doesn't work and I really don't know why. Do you have any clue for how to solve it? Maybe I miss something? Thanks you very much for you help, is very appreciated! Best
First, if you want to test if your dns zone is working, then use this command: dig @loclahost yourdomain.tld without the @localhost, you are not querying your local dns server. If the above command does not work, then your dns zone is most likely not complete so that bind did not load it. the most common error i that the a-records for the ns records are missing.
Hi Till, thanks for the interest. The command: dig @localhost vpsXXX.ovh.net Code: ; <<>> DiG 9.9.5-3-Ubuntu <<>> @localhost vpsXXX.ovh.net ; (2 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29908 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;vpsXXX.ovh.net. IN A ;; ANSWER SECTION: vpsXXX.ovh.net. 3600 IN A 92.xx.xx.xx ;; AUTHORITY SECTION: vpsXXX.ovh.net. 3600 IN NS vpsXXX.ovh.net. vpsXXX.ovh.net. 3600 IN NS sdns2.ovh.net. ;; Query time: 0 msec ;; SERVER: ::1#53(::1) ;; WHEN: Thu May 29 10:59:53 CEST 2014 ;; MSG SIZE rcvd: 95
UPDATE: the result I get in the previous reply it's because I added a new DNS ZONE through ISPconfig. After deleting it the result dig @localhost vpsXXX.ovh.net of is: Code: ; <<>> DiG 9.9.5-3-Ubuntu <<>> @localhost vpsXXX.ovh.net ; (2 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49941 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 10, ADDITIONAL: 21 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;vpsXXX.ovh.net. IN A ;; ANSWER SECTION: vpsXXX.ovh.net. 86400 IN A 92.xx.xx.xx ;; AUTHORITY SECTION: ovh.net. 171829 IN NS ns12.ovh.net. ovh.net. 171829 IN NS ns11.ovh.net. ovh.net. 171829 IN NS dns15.ovh.net. ovh.net. 171829 IN NS ns10.ovh.net. ovh.net. 171829 IN NS dns12.ovh.net. ovh.net. 171829 IN NS dns13.ovh.net. ovh.net. 171829 IN NS dns10.ovh.net. ovh.net. 171829 IN NS ns13.ovh.net. ovh.net. 171829 IN NS ns15.ovh.net. ovh.net. 171829 IN NS dns11.ovh.net. ;; ADDITIONAL SECTION: ns10.ovh.net. 171829 IN A 213.251.128.129 ns10.ovh.net. 171829 IN AAAA 2001:41d0:1:1981::1 ns11.ovh.net. 171829 IN A 213.251.128.130 ns11.ovh.net. 171829 IN AAAA 2001:41d0:1:1982::1 ns12.ovh.net. 171829 IN A 213.251.128.131 ns12.ovh.net. 171829 IN AAAA 2001:41d0:1:1983::1 ns13.ovh.net. 171829 IN A 213.251.128.132 ns13.ovh.net. 171829 IN AAAA 2001:41d0:1:1984::1 ns15.ovh.net. 171829 IN A 213.251.128.134 ns15.ovh.net. 171829 IN AAAA 2001:41d0:1:1986::1 dns10.ovh.net. 171829 IN A 213.251.188.129 dns10.ovh.net. 171829 IN AAAA 2001:41d0:1:4a81::1 dns11.ovh.net. 171829 IN A 213.251.188.130 dns11.ovh.net. 171829 IN AAAA 2001:41d0:1:4a82::1 dns12.ovh.net. 171829 IN A 213.251.188.131 dns12.ovh.net. 171829 IN AAAA 2001:41d0:1:4a83::1 dns13.ovh.net. 171829 IN A 213.251.188.132 dns13.ovh.net. 171829 IN AAAA 2001:41d0:1:4a84::1 dns15.ovh.net. 171829 IN A 213.251.188.134 dns15.ovh.net. 171829 IN AAAA 2001:41d0:1:4a86::1 ;; Query time: 12 msec ;; SERVER: ::1#53(::1) ;; WHEN: Thu May 29 11:11:09 CEST 2014 ;; MSG SIZE rcvd: 696 If it can helps, I can tell you that when I bought the VPS then the provider gave me these values: Code: IPv4 92.xx.xx.xx IPv6 2001:xxxxx Reverse DNS 70.ip2xx--9x-x.eu DNS secondary There are no domains configured What should I do to let it work? Thanks
vpsxxxx.ovh.net is not your domain, at least if you are not the owner of the company OVH. vpsxxxx.ovh.net is the hostname of your server, it is managed by ovh in their nameservers. So the name is not related to the dns setup of your server or the ispconfig installation at all.
Hi Till, I've to understand which value should I add in the NS1 and NS2 of mydomain.com thought the control panel of the domain provider. Could you help me to figure out how to understand which value to add there based on the info I've provided in this thread? Please let me know if I'm missing something, Thank you really much!
For dns, you normally need 2 servers, one for the ns1 and one for the ns2. If you have just one server, then it might work as well, but this depends on your domain registry. If the domain name ise.g. domain.tld and you want to host it on your own server, then the nameservers are ns1.domain.tld and ns2.domain.tld. So you have to create a dns zone in ispconfig for domain.tld with the nameservers ns1.domain.tld and ns2.domain.tld and ensure that you add a-records for ns1 and ns2 as well that point to the ip address of your server. Then you test this zone with dig, like I explained above. If that works, then you go to your domain registry and change the nameservers there to ns1.domain.tld and ns2.domain.tld and ensure that you enter the IP address for both nameservers there as well as the domain registry has to create glue records for the namserver records and therefor it needs to know the IP address as well.
Hi Till, perfect explanation! I did it and it works partially, means that for domain.tls i've created ns1.domain.tld and ns2.domain.tld in ISPconfig and when I pointed the dns from the domain provider everything works. But if i point NEWdomain.tld to ns1.domain.tld and ns2.domain.tld to , then it's not resolving. What can be the reason?