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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th April 2011, 19:07
dromney dromney is offline
Junior Member
 
Join Date: Apr 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default DNS Not working - Ubuntu 10.10 & ISPconf 3.0.3.3

I am having issues getting my DNS to work correctly. I have 3 different named.comf file, named.conf - which seems to be a bare bones file that references 3 other files, 1)named.com.options 2) named.conf.default-zones 3)named.conf.local

I will post the contents of these files. In the named.conf.local file, a pri.wrapyourgun.com files is referenced there, and I will post the contents of this file as well. (this is the site I am trying to get to work)

None of these files have anything that is exactly like what has already been referenced here.

the named.conf.local has something almost like what you have talked about, it has a listen-on-v6 line, and I added a " listen on 53 { any; }; " to that file as well with no luck.

Any help would be greatly appreciated.
Thanks in advance

Also added, at the end of the attachments, you will see my screen shot from the intodns.com test, that shows that my server isn't responding.
Attached Images
     

Last edited by dromney; 16th April 2011 at 20:55. Reason: Changed to make sense in own thread rather than responding to another thread
Reply With Quote
Sponsored Links
  #2  
Old 17th April 2011, 10:05
dromney dromney is offline
Junior Member
 
Join Date: Apr 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Update

Trying to figure all this out, I did a dig @localhost wrapyourgun.com and got this reply.

After that, I did a dig with the IP address and got a different response. So for some reason my server is not responding to an outside request, but it is responding to a local request.

I have forwarded port 53 to the server, which is the DNS port, and as far as I can tell I have having the server respond to any on both IPV6 and IPV4.

So I am at a loss.
Attached Images
  

Last edited by dromney; 17th April 2011 at 10:14. Reason: Adding more info
Reply With Quote
  #3  
Old 17th April 2011, 10:32
dromney dromney is offline
Junior Member
 
Join Date: Apr 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default obsessing maybe?

Yes,
I just might be obsessing over this, but I really want to get it working.
I have checked my firewall, disabled and re-enabled, still no response from the DNS service from the outside, even when I have completely disabled my firewall. I checked my router and the port is forwarded correctly.
Reply With Quote
  #4  
Old 18th April 2011, 08:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What are the outputs of
Code:
netstat -tap
and
Code:
netstat -uap
? What's the output of
Code:
iptables -L
?

Also make sure that your ISP doesn't block port 53 (TCP and UDP!).
__________________
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
  #5  
Old 18th April 2011, 18:55
dromney dromney is offline
Junior Member
 
Join Date: Apr 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here they are.

netstat -tap
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost:10024         *:*                     LISTEN      1149/amavisd (maste
tcp        0      0 localhost:10025         *:*                     LISTEN      2968/master     
tcp        0      0 *:mysql                 *:*                     LISTEN      1096/mysqld     
tcp        0      0 localhost:spamd         *:*                     LISTEN      1153/spamd.pid  
tcp        0      0 *:http-alt              *:*                     LISTEN      3075/apache2    
tcp        0      0 *:www                   *:*                     LISTEN      3075/apache2    
tcp        0      0 *:tproxy                *:*                     LISTEN      3075/apache2    
tcp        0      0 *:ftp                   *:*                     LISTEN      2983/pure-ftpd (SER
tcp        0      0 67.182.224.224:domain   *:*                     LISTEN      1098/named      
tcp        0      0 server1.danielro:domain *:*                     LISTEN      1098/named      
tcp        0      0 localhost:domain        *:*                     LISTEN      1098/named      
tcp        0      0 *:ssh                   *:*                     LISTEN      969/sshd        
tcp        0      0 *:smtp                  *:*                     LISTEN      2968/master     
tcp        0      0 localhost:953           *:*                     LISTEN      1098/named      
tcp        0      0 server1.danielromn:4507 *:*                     LISTEN      3232/pure-ftpd (IDL
tcp        0      0 *:https                 *:*                     LISTEN      3075/apache2    
tcp        0      0 server1.danielromne:www 64.255.85.238:57761     TIME_WAIT   -               
tcp        0     48 server1.danielromne:ssh 64.255.85.238:57574     ESTABLISHED 996/sshd: administr
tcp        0      0 server1.danielromne:ftp 64.255.85.238:57684     ESTABLISHED 3232/pure-ftpd (IDL
tcp        0      0 localhost:mysql         localhost:55075         ESTABLISHED 1096/mysqld     
tcp        0      0 server1.danielromne:www 209.85.238.199:61687    TIME_WAIT   -               
tcp       55      0 localhost:35546         localhost:10025         CLOSE_WAIT  2147/amavisd (ch1-a
tcp        0      0 localhost:55075         localhost:mysql         ESTABLISHED 2147/amavisd (ch1-a
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      2858/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      2824/couriertcpd
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      2983/pure-ftpd (SER
tcp6       0      0 [::]:domain             [::]:*                  LISTEN      1098/named      
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      969/sshd        
tcp6       0      0 localhost:953           [::]:*                  LISTEN      1098/named      
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      2844/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      2878/couriertcpd
netstat -uap
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
udp        0      0 67.182.224.224:59357    192.168.0.1:domain      ESTABLISHED 3091/apache2    
udp        0      0 67.182.224.224:44545    192.168.0.1:domain      ESTABLISHED 2786/freshclam  
udp        0      0 67.182.224.224:55822    192.168.0.1:domain      ESTABLISHED 3308/apache2    
udp        0      0 67.182.224.224:22067    192.168.0.1:domain      ESTABLISHED 2147/amavisd (ch1-a
udp        0      0 67.182.224.224:domain   *:*                                 1098/named      
udp        0      0 server1.danielro:domain *:*                                 1098/named      
udp        0      0 localhost:domain        *:*                                 1098/named      
udp        0      0 67.182.224.224:ntp      *:*                                 3035/ntpd       
udp        0      0 server1.danielromne:ntp *:*                                 3035/ntpd       
udp        0      0 localhost:ntp           *:*                                 3035/ntpd       
udp        0      0 *:ntp                   *:*                                 3035/ntpd       
udp        0      0 67.182.224.224:39129    192.168.0.1:domain      ESTABLISHED 3092/apache2    
udp        0      0 67.182.224.224:57646    192.168.0.1:domain      ESTABLISHED 3089/apache2    
udp        0      0 67.182.224.224:57646    192.168.0.1:domain      ESTABLISHED 3089/apache2    
udp6       0      0 [::]:domain             [::]:*                              1098/named      
udp6       0      0 localhost:ntp           [::]:*                              3035/ntpd       
getnameinfo failed
udp6       0      0 [UNKNOWN]:ntp           [::]:*                              3035/ntpd       
udp6       0      0 [::]:ntp                [::]:*                              3035/ntpd
iptable -L
Code:
Chain INPUT (policy DROP)
target     prot opt source               destination         
fail2ban-ssh  tcp  --  anywhere             anywhere            multiport dports ssh 
ufw-before-logging-input  all  --  anywhere             anywhere            
ufw-before-input  all  --  anywhere             anywhere            
ufw-after-input  all  --  anywhere             anywhere            
ufw-after-logging-input  all  --  anywhere             anywhere            
ufw-reject-input  all  --  anywhere             anywhere            
ufw-track-input  all  --  anywhere             anywhere            

Chain FORWARD (policy DROP)
target     prot opt source               destination         
ufw-before-logging-forward  all  --  anywhere             anywhere            
ufw-before-forward  all  --  anywhere             anywhere            
ufw-after-forward  all  --  anywhere             anywhere            
ufw-after-logging-forward  all  --  anywhere             anywhere            
ufw-reject-forward  all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ufw-before-logging-output  all  --  anywhere             anywhere            
ufw-before-output  all  --  anywhere             anywhere            
ufw-after-output  all  --  anywhere             anywhere            
ufw-after-logging-output  all  --  anywhere             anywhere            
ufw-reject-output  all  --  anywhere             anywhere            
ufw-track-output  all  --  anywhere             anywhere            

Chain fail2ban-ssh (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            

Chain ufw-after-forward (1 references)
target     prot opt source               destination         

Chain ufw-after-input (1 references)
target     prot opt source               destination         
ufw-skip-to-policy-input  udp  --  anywhere             anywhere            udp dpt:netbios-ns 
ufw-skip-to-policy-input  udp  --  anywhere             anywhere            udp dpt:netbios-dgm 
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere            tcp dpt:netbios-ssn 
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere            tcp dpt:microsoft-ds 
ufw-skip-to-policy-input  udp  --  anywhere             anywhere            udp dpt:bootps 
ufw-skip-to-policy-input  udp  --  anywhere             anywhere            udp dpt:bootpc 
ufw-skip-to-policy-input  all  --  anywhere             anywhere            ADDRTYPE match dst-type BROADCAST 

Chain ufw-after-logging-forward (1 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere            limit: avg 3/min burst 10 LOG level warning prefix `[UFW BLOCK] ' 

Chain ufw-after-logging-input (1 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere            limit: avg 3/min burst 10 LOG level warning prefix `[UFW BLOCK] ' 

Chain ufw-after-logging-output (1 references)
target     prot opt source               destination         

Chain ufw-after-output (1 references)
target     prot opt source               destination         

Chain ufw-before-forward (1 references)
target     prot opt source               destination         
ufw-user-forward  all  --  anywhere             anywhere            

Chain ufw-before-input (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ufw-logging-deny  all  --  anywhere             anywhere            state INVALID 
DROP       all  --  anywhere             anywhere            state INVALID 
ACCEPT     icmp --  anywhere             anywhere            icmp destination-unreachable 
ACCEPT     icmp --  anywhere             anywhere            icmp source-quench 
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded 
ACCEPT     icmp --  anywhere             anywhere            icmp parameter-problem 
ACCEPT     icmp --  anywhere             anywhere            icmp echo-request 
ACCEPT     udp  --  anywhere             anywhere            udp spt:bootps dpt:bootpc 
ufw-not-local  all  --  anywhere             anywhere            
ACCEPT     all  --  224.0.0.0/4          anywhere            
ACCEPT     all  --  anywhere             224.0.0.0/4         
ufw-user-input  all  --  anywhere             anywhere            

Chain ufw-before-logging-forward (1 references)
target     prot opt source               destination         

Chain ufw-before-logging-input (1 references)
target     prot opt source               destination         

Chain ufw-before-logging-output (1 references)
target     prot opt source               destination         

Chain ufw-before-output (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ufw-user-output  all  --  anywhere             anywhere            

Chain ufw-logging-allow (0 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere            limit: avg 3/min burst 10 LOG level warning prefix `[UFW ALLOW] ' 

Chain ufw-logging-deny (2 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            state INVALID limit: avg 3/min burst 10 
LOG        all  --  anywhere             anywhere            limit: avg 3/min burst 10 LOG level warning prefix `[UFW BLOCK] ' 

Chain ufw-not-local (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            ADDRTYPE match dst-type LOCAL 
RETURN     all  --  anywhere             anywhere            ADDRTYPE match dst-type MULTICAST 
RETURN     all  --  anywhere             anywhere            ADDRTYPE match dst-type BROADCAST 
ufw-logging-deny  all  --  anywhere             anywhere            limit: avg 3/min burst 10 
DROP       all  --  anywhere             anywhere            

Chain ufw-reject-forward (1 references)
target     prot opt source               destination         

Chain ufw-reject-input (1 references)
target     prot opt source               destination         

Chain ufw-reject-output (1 references)
target     prot opt source               destination         

Chain ufw-skip-to-policy-forward (0 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            

Chain ufw-skip-to-policy-input (7 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            

Chain ufw-skip-to-policy-output (0 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            

Chain ufw-track-input (1 references)
target     prot opt source               destination         

Chain ufw-track-output (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            state NEW 
ACCEPT     udp  --  anywhere             anywhere            state NEW 

Chain ufw-user-forward (1 references)
target     prot opt source               destination         

Chain ufw-user-input (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:ssh 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:www 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:www 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:fsp 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http-alt 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:http-alt 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:smtp 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:25 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:pop3 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:pop3 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:pop3s 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:pop3s 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:www 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:imap2 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:imap2 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:https 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:https 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:imaps 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:imaps 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:mysql 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:mysql 

Chain ufw-user-limit (0 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere            limit: avg 3/min burst 5 LOG level warning prefix `[UFW LIMIT BLOCK] ' 
REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable 

Chain ufw-user-limit-accept (0 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            

Chain ufw-user-logging-forward (0 references)
target     prot opt source               destination         

Chain ufw-user-logging-input (0 references)
target     prot opt source               destination         

Chain ufw-user-logging-output (0 references)
target     prot opt source               destination         

Chain ufw-user-output (1 references)
target     prot opt source               destination
Reply With Quote
  #6  
Old 19th April 2011, 14:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What happens if you switch off the firewall for testing purposes?
__________________
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
  #7  
Old 19th April 2011, 17:04
dromney dromney is offline
Junior Member
 
Join Date: Apr 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have tried that before and just tried it again. No effect.
Reply With Quote
  #8  
Old 20th April 2011, 14:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Is this server located behind a router? If so, is there a firewall on that router?
__________________
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
  #9  
Old 20th April 2011, 17:05
dromney dromney is offline
Junior Member
 
Join Date: Apr 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is located behind a router, and i have forwarded port 53 in both udp and tcp to the server.
Reply With Quote
  #10  
Old 21st April 2011, 13:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Does your ISP maybe block port 53? Or maybe (if you tried dig @public_ip from within your LAN) your router doesn't support loopbacks.
__________________
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
name server and dns not working properly theleech1 Installation/Configuration 5 12th July 2010 10:41
Mail and DNS troubles with ISPconfig 3 in Ubuntu 10.04 hakimus HOWTO-Related Questions 11 16th June 2010 14:56
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 13:49
DNS problem with ubuntu altaibskt Server Operation 6 25th January 2009 19:40
ISP-Ubuntu breezy ispconfig dns email e-mail working finally yellowjelly HOWTO-Related Questions 0 19th November 2005 20:30


All times are GMT +2. The time now is 05:12.


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