I recently moved from plesk back to ISPconfig for the second time, and once again I cant get DNS working. The problem this time seems to be different. I have two domains(and others, but Ill worry about them after these two work) appalhost.info and xenotype.net My registrar is 1and1, and the way Ive always done it is to use two subdomains of appalhost.info (ns1.appalhost.info and ns2.appalhost.info) as my nameservers. These I create at the registrar and are not on my server. The A record of the subdomains point to each of my server's two ips (207.210.77.119 and 65.254.53.154) Works in plesk fine. I got it working for ISPConfig once before. Ive created both domains on my server, the nameservers are correct for each. Yet Im getting no dns for them at all. Whois says the nameservers are right, but they wont work. I have a shallow understanding of dns in many places so forgive me for any blatant stupidity. Here is the output of 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 *:mysql *:* LISTEN 16070/mysqld tcp 0 0 *:pop3 *:* LISTEN 6091/dovecot tcp 0 0 *:imap *:* LISTEN 6091/dovecot tcp 0 0 *:http *:* LISTEN 9553/httpd tcp 0 0 *:hosts2-ns *:* LISTEN 9523/ispconfig_http tcp 0 0 *:ftp *:* LISTEN 14009/proftpd: (acc tcp 0 0 svr.appalhost.info:domain *:* LISTEN 19962/named tcp 0 0 *:ssh *:* LISTEN 9463/sshd tcp 0 0 *:smtp *:* LISTEN 14110/master tcp 0 0 svr.appalhost.info:rndc *:* LISTEN 19962/named tcp 0 0 *:imaps *:* LISTEN 6091/dovecot tcp 0 0 *:pop3s *:* LISTEN 6091/dovecot tcp 0 888 207.210.77.119:ssh adsl-222-162-3.clt.be:50351 ESTABLISHED 3435/0 And the contents of hosts Code: 127.0.0.1 svr.appalhost.info 207.210.77.119 65.254.53.154 svr server localhost localhost.localdomain All services are up and running fine including bind. What am I missing?
What happens if you do a: Code: # host www.appalhost.info 207.210.77.119 This way your checking the DNS server direct. Error messages from bind are generally in the /var/logs/messages
Sorry, forgot to mention the distro, Fedora 5 64 bit. host command isnt found there are no errors in messages
Code: # nslookup www.appalhost.info 207.210.77.119 That should work or there's more wrong then just your DNS...
Im missing the dig command too. Im running this server on a virtuozzo VPS, so their image may be missing some parts that I need to yum, but I dont know what the yum command to install dig is.
On Debian the package is called dnsutils. You can search for the appropriate Fedora package like this: Code: yum search dnsutils yum search dig
Unfortunately I don't know how the package is named on Fedora. You could try to search for DNS related packages like this: Code: yum search dns
Got it, bind-utils Theres the results. So whats going on? Are my domains just lost in the internet cloud?
Ok, the above means that no DNS server is running on localhost. Please post the output of: netstat -tap and the content of the file /etc/hosts
Sorry for the delay in response, I was waiting for a new post email about it, but never got one. Already posted in the first post.
The content of your /etc/hosts file seems to be corrupt. Please try to replace it with the following content: Code: 127.0.0.1 localhost localhost.localdomain 207.210.77.119 svr.appalhost.info svr server
I did but it still seems to be the same problem. I tried restarting named but still the domains arent resolving.
Maybe a instance of named is hanging and can not be stopped or restarted by the init script. Please stop named, then check with "netstat -tap" that there is really no instance of named running anymore.
Code: [root@svr ~]# service named stop Stopping named: . [ OK ] [root@svr ~]# netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:mysql *:* LISTEN 16070/mysqld tcp 0 0 *:pop3 *:* LISTEN 6091/dovecot tcp 0 0 *:imap *:* LISTEN 6091/dovecot tcp 0 0 *:http *:* LISTEN 9553/httpd tcp 0 0 *:hosts2-ns *:* LISTEN 9523/ispconfig_http tcp 0 0 *:ftp *:* LISTEN 1890/proftpd: (acce tcp 0 0 *:ssh *:* LISTEN 9463/sshd tcp 0 0 *:smtp *:* LISTEN 2007/master tcp 0 0 *:imaps *:* LISTEN 6091/dovecot tcp 0 0 *:pop3s *:* LISTEN 6091/dovecot tcp 0 0 svr.appalhost.info:39993 svr.appalhost.info:rndc TIME_WAIT - tcp 0 888 207.210.77.119:ssh adsl-222-162-3.clt.be:50147 ESTABLISHED 27986/0 [root@svr ~]# That doesn't appear to be the problem, but I don't know.