Thread: DNS Problem
View Single Post
  #8  
Old 15th June 2010, 03:40
mgillett mgillett is offline
Junior Member
 
Join Date: Jun 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have a very similar problem. Whenever I go to my domain name, it gets stuck on resolving host and then times out. I entered the correct name servers, and it looks like its forwarding when I do a dig mydomain.com:

Code:
; <<>> DiG 9.7.0-P1 <<>> mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57100
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mydomain.com.              IN      A

;; ANSWER SECTION:
mydomain.com.       86400   IN      A       75.###.38.###

;; AUTHORITY SECTION:
mydomain.com.       86400   IN      NS      ns1.nameserver.com.

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Jun 14 20:42:56 2010
;; MSG SIZE  rcvd: 88

root@server1:~#

I followed all the configuration instructions in the tutorial posted above and made the appropriate entries in ISPconfig under DNS and site.


Here is the output of my netstat -tap:
Code:
root@server1:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      896/amavisd (master
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      1554/master
tcp        0      0 *:mysql                 *:*                     LISTEN      567/mysqld 
tcp        0      0 localhost.localdo:spamd *:*                     LISTEN      900/spamd.pid
tcp        0      0 *:http-alt              *:*                     LISTEN      1652/apache2
tcp        0      0 *:www                   *:*                     LISTEN      1652/apache2
tcp        0      0 *:tproxy                *:*                     LISTEN      1652/apache2
tcp        0      0 server1.hosting.:domain *:*                     LISTEN      1945/named 
tcp        0      0 localhost.locald:domain *:*                     LISTEN      1945/named 
tcp        0      0 *:ftp                   *:*                     LISTEN      1567/pure-ftpd (SER
tcp        0      0 *:ssh                   *:*                     LISTEN      569/sshd   
tcp        0      0 localhost.localdoma:953 *:*                     LISTEN      1945/named 
tcp        0      0 *:smtp                  *:*                     LISTEN      1554/master
tcp        0      0 *:https                 *:*                     LISTEN      1652/apache2
tcp        0    248 server1.hosting.com:ssh 192.168.1.121:59001     ESTABLISHED 2038/sshd: administ
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      1446/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      1412/couriertcpd
tcp6       0      0 [::]:domain             [::]:*                  LISTEN      1945/named 
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      1567/pure-ftpd (SER
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      569/sshd   
tcp6       0      0 localhost:953           [::]:*                  LISTEN      1945/named 
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      1432/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      1466/couriertcpd
root@server1:~#




Edit: I also forgot to mention that when I ping my domain name, it does ping my ip address. It never stops pinging it though, and it displays a hostname from my service provider...

I followed the perfect setup guide for ubuntu server 10.04, and everything else seems to be working perfectly. Both ns1.nameserver.com and ns2.nameserver.com point to the same IP address. Is this a problem? I had no problem entering those servers with the registrar.

Last edited by mgillett; 15th June 2010 at 05:53.
Reply With Quote