Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th October 2006, 05:18
VMartins VMartins is offline
Member
 
Join Date: Aug 2006
Location: Sao Paulo - Brasil
Posts: 70
Thanks: 3
Thanked 1 Time in 1 Post
Question DNS Configuration Problems

Hey All,

I'm having some dificults to setup my DNS. The first problem was my knowlegde... This problem I solved. The second problem is the ISPConfi automatic configuration of Bind Confs.

I test my DNS conf with DNSReport (www.dnsreport.com) and I have many warns and erros. Follow the tips I try to solve this issues. But this automatic config don't leave me to manual configure my confs. For example, I have 3 DNS entries, but ISPConfig support only two entries. I want to configure the DNS Reverse Lookup, but the automatic conf doesn't have the correct code.

Follow the warns and fails fo DNSReport about my domain (innovat.com.br):

1 - FAIL Open DNS servers ERROR: One or more of your nameservers reports that it is an open DNS server. This usually means that anyone in the world can query it for domains it is not authoritative for (it is possible that the DNS server advertises that it does recursive lookups when it does not, but that shouldn't happen). This can cause an excessive load on your DNS server. Also, it is strongly discouraged to have a DNS server be both authoritative for your domain and be recursive (even if it is not open), due to the potential for cache poisoning (with no recursion, there is no cache, and it is impossible to poison it). Also, the bad guys could use your DNS server as part of an attack, by forging their IP address. Problem record(s) are:
Server 200.188.210.54 reports that it will do recursive lookups. [test]
Server 200.188.210.54 reports that it will do recursive lookups. [test]

See this page for info on closing open DNS servers.

2 - FAIL No NS A records at nameservers WARNING: Your nameservers do not include any corresponding A records when asked for your NS records. They probably are not returning the A records when asked, which can prevent some other DNS servers from contacting your DNS servers. They should do this if they are authoritative for those A records. The problem record(s) are:
Nameserver 200.188.210.54 did not provide IPs for all NS records.
Nameserver 200.188.210.54 did not provide IPs for all NS records.

3 - FAIL Reverse DNS entries for MX records ERROR: The IP of one or more of your mail server(s) have no reverse DNS (PTR) entries (if you see "Timeout" below, it may mean that your DNS servers did not respond fast enough). RFC1912 2.1 says you should have a reverse DNS for all your mail servers. It is strongly urged that you have them, as many mailservers will not accept mail from mailservers with no reverse DNS entry. You can double-check using the 'Reverse DNS Lookup' tool at the DNSstuff site (it contacts your servers in real time; the reverse DNS lookups in the DNS report use our local caching DNS server). The problem MX records are:
54.210.188.200.in-addr.arpa [No reverse DNS entry (rcode: 3 ancount: 0) (check it)]

Somene has the same trouble? Any help or information is very welcome.

Thanks,

Vinicius
Sao Paulo - Brasil
Reply With Quote
Sponsored Links
  #2  
Old 8th October 2006, 15:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by VMartins
1 - FAIL Open DNS servers ERROR: One or more of your nameservers reports that it is an open DNS server. This usually means that anyone in the world can query it for domains it is not authoritative for (it is possible that the DNS server advertises that it does recursive lookups when it does not, but that shouldn't happen). This can cause an excessive load on your DNS server. Also, it is strongly discouraged to have a DNS server be both authoritative for your domain and be recursive (even if it is not open), due to the potential for cache poisoning (with no recursion, there is no cache, and it is impossible to poison it). Also, the bad guys could use your DNS server as part of an attack, by forging their IP address. Problem record(s) are:
Server 200.188.210.54 reports that it will do recursive lookups. [test]
Server 200.188.210.54 reports that it will do recursive lookups. [test]

See this page for info on closing open DNS servers.
Have a look here: http://www.howtoforge.com/forums/sho...en+DNS+servers
http://www.howtoforge.com/forums/sho...en+DNS+servers


Quote:
Originally Posted by VMartins
2 - FAIL No NS A records at nameservers WARNING: Your nameservers do not include any corresponding A records when asked for your NS records. They probably are not returning the A records when asked, which can prevent some other DNS servers from contacting your DNS servers. They should do this if they are authoritative for those A records. The problem record(s) are:
Nameserver 200.188.210.54 did not provide IPs for all NS records.
Nameserver 200.188.210.54 did not provide IPs for all NS records.
Please check if you have NS records in the zone file.

Quote:
Originally Posted by VMartins
3 - FAIL Reverse DNS entries for MX records ERROR: The IP of one or more of your mail server(s) have no reverse DNS (PTR) entries (if you see "Timeout" below, it may mean that your DNS servers did not respond fast enough). RFC1912 2.1 says you should have a reverse DNS for all your mail servers. It is strongly urged that you have them, as many mailservers will not accept mail from mailservers with no reverse DNS entry. You can double-check using the 'Reverse DNS Lookup' tool at the DNSstuff site (it contacts your servers in real time; the reverse DNS lookups in the DNS report use our local caching DNS server). The problem MX records are:
54.210.188.200.in-addr.arpa [No reverse DNS entry (rcode: 3 ancount: 0) (check it)]
Please ask your ISP to create PTR records for your IP addresses.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th October 2006, 04:29
VMartins VMartins is offline
Member
 
Join Date: Aug 2006
Location: Sao Paulo - Brasil
Posts: 70
Thanks: 3
Thanked 1 Time in 1 Post
Default Some more quentions...

falko,

Thanks very much your answer. I solve the first question, and the third question I forward to my broadband provider.

I have three DNS entries register in Brasil Domain Register, but ISPConfig has only two options. What I have to do? Do I input in the named.conf.master?

Another question, how do I have do to in the Bind confs to solve this other problem?

ERROR: sol.innovat.com.br. has a CNAME entry (sol.innovat.com.br.->sol.innovat.com.br.); it is not valid to have a CNAME entry entry for the hostname in an NS record (for sol.innovat.com.br.). See RFC1912 2.4 and RFC2181 10.3 for more information.
Note: This test checks with our local DNS server (since the NS record hostnames may not be handled by your DNS server), and therefore may be cached.


A put my name of DNS Server in A - sol IN A xxx.xxx.xxx.xxx?

Thanks again...

Vinicius
Reply With Quote
  #4  
Old 9th October 2006, 15:25
VMartins VMartins is offline
Member
 
Join Date: Aug 2006
Location: Sao Paulo - Brasil
Posts: 70
Thanks: 3
Thanked 1 Time in 1 Post
Default Another problem...



People,

Now I get this problem:

bind9 don't restart : rndc: connect failed: connection refused

Someone know what happend?

Thanks,

Vinicius
Reply With Quote
  #5  
Old 10th October 2006, 13:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by VMartins
ERROR: sol.innovat.com.br. has a CNAME entry (sol.innovat.com.br.->sol.innovat.com.br.); it is not valid to have a CNAME entry entry for the hostname in an NS record (for sol.innovat.com.br.). See RFC1912 2.4 and RFC2181 10.3 for more information.
Note: This test checks with our local DNS server (since the NS record hostnames may not be handled by your DNS server), and therefore may be cached.
This is the problem:

Code:
dig ns innovat.com.br

; <<>> DiG 9.2.1 <<>> ns innovat.com.br
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22093
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;innovat.com.br.                        IN      NS

;; ANSWER SECTION:
innovat.com.br.         86343   IN      NS      vmartins.ddns.com.br.
innovat.com.br.         86343   IN      NS      sol.innovat.com.br.

;; Query time: 2 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Tue Oct 10 13:20:53 2006
;; MSG SIZE  rcvd: 78
sol.innovat.com.br is a name server for innovat.com.br, but sol.innovat.com.br exists only as a CNAME record:

Code:
dig sol.innovat.com.br

; <<>> DiG 9.2.1 <<>> sol.innovat.com.br
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25538
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;sol.innovat.com.br.            IN      A

;; ANSWER SECTION:
sol.innovat.com.br.     86400   IN      CNAME   innovat.com.br.
innovat.com.br.         86400   IN      A       200.188.210.54

;; Query time: 611 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Tue Oct 10 13:19:56 2006
;; MSG SIZE  rcvd: 66
sol.innovat.com.br must exist as an A record!

Quote:
Now I get this problem:

bind9 don't restart : rndc: connect failed: connection refused

Someone know what happend?
Have a look at the comments below http://www.howtoforge.com/howto_bind_chroot_debian . It's a permissions problem.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 10th October 2006, 14:50
VMartins VMartins is offline
Member
 
Join Date: Aug 2006
Location: Sao Paulo - Brasil
Posts: 70
Thanks: 3
Thanked 1 Time in 1 Post
Default I fix it...

Thanks falko,

I search in Google and I find the command named -g -p 53 to test my named.conf syntase and found one error, I correct it in the named.conf.master. I restart my bind service and the problem with rndc is gone. I can't figure out what happend.

I correct my DNS entries for my main domain, now is funcioning. I edit my pri.domain.master to put the third DNS Entry, I do right? Also, I edit the named.conf.master to put the allow-recursive command.

Quote:
root@sol:~# dig ns innovat.com.br

; <<>> DiG 9.3.2 <<>> ns innovat.com.br
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64195
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;innovat.com.br. IN NS

;; ANSWER SECTION:
innovat.com.br. 84901 IN NS vmartins.ddns.com.br.
innovat.com.br. 84901 IN NS sol.innovat.com.br.

;; Query time: 28 msec
;; SERVER: 200.188.223.194#53(200.188.223.194)
;; WHEN: Tue Oct 10 09:33:15 2006
;; MSG SIZE rcvd: 78

root@sol:~# dig sol.innovat.com.br

; <<>> DiG 9.3.2 <<>> sol.innovat.com.br
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57644
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;sol.innovat.com.br. IN A

;; ANSWER SECTION:
sol.innovat.com.br. 84853 IN A 200.188.210.54

;; Query time: 7 msec
;; SERVER: 200.188.223.194#53(200.188.223.194)
;; WHEN: Tue Oct 10 09:34:03 2006
;; MSG SIZE rcvd: 52

root@sol:~#
Thanks a lot all help!!!

Vinicius
Reply With Quote
  #7  
Old 11th October 2006, 13:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Looks much better now.
Quote:
Originally Posted by VMartins
I edit my pri.domain.master to put the third DNS Entry, I do right?
Yes, that should work.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
adamassasda291 (29th June 2013)
  #8  
Old 13th October 2006, 08:07
VMartins VMartins is offline
Member
 
Join Date: Aug 2006
Location: Sao Paulo - Brasil
Posts: 70
Thanks: 3
Thanked 1 Time in 1 Post
Smile

Thanks falko and Alll!!!!!

I learned a lot of a things in this Forum... Now, I will contribute translating the ISPConfig to Brazilian Portuguese...
Reply With Quote
  #9  
Old 23rd July 2007, 16:10
m1_davidson m1_davidson is offline
Junior Member
 
Join Date: Jul 2007
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I'm having this issue as well - rolling back of [directory "/var/named/chroot/var/named";] ever so often. I have followed the thread and did all the remedial suggestions. Any help would be mucho appreciato.
Reply With Quote
  #10  
Old 24th July 2007, 14:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

What exactly is the problem? Which distribution do you use? Any error messages?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dns problems rayit General 2 24th August 2006 18:04
New Setup Email Configuration problems jerutley Installation/Configuration 2 12th June 2006 22:06
Help with DNS configuration (understanding DNS setup) jimjawn Installation/Configuration 1 3rd May 2006 15:43
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 19:29
DNS Zone file configuration Commdude Installation/Configuration 7 20th March 2006 02:02


All times are GMT +2. The time now is 19:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.