I'm sure this has been asked in some form before but I'm completely new to DNS and inexperienced with Linux, so bear with me :)
I have a VPS from OVH hosting that I've managed to configure to suit my needs fairly well but I can't seem to get the DNS server working. According to the troubleshooting pages I've found on the web, Bind is configured not to accept connections from outside but I have no idea how to change this.
telnet localhost 53
on the server works
telnet myserver.com 53
on my local machine says telnet: Unable to connect to remote host: Connection refused
netstat -Wa
returns the following
tcp 0 0 *:imaps *:* LISTEN
tcp 0 0 *:pop3s *:* LISTEN
tcp 0 0 localhost.localdomain:10024 *:* LISTEN
tcp 0 0 *:rsync *:* LISTEN
tcp 0 0 localhost.localdomain:10025 *:* LISTEN
tcp 0 0 localhost.localdomain:mysql *:* LISTEN
tcp 0 0 localhost.localdomain:813 *:* LISTEN
tcp 0 0 *:pop3 *:* LISTEN
tcp 0 0 *:imap2 *:* LISTEN
tcp 0 0 localhost.localdomain:spamd *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:http-alt *:* LISTEN
tcp 0 0 *:www *:* LISTEN
tcp 0 0 *:tproxy *:* LISTEN
tcp 0 0 localhost.localdomain:domain *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost.localdomain:953 *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp 0 0 *:https *:* LISTEN
tcp 0 0 mydomain.com:ssh 0-0-0-0.bb.dnainternet.fi:63879 ESTABLISHED
tcp 0 0 mydomain.com:ssh 0-0-0-0.bb.dnainternet.fi:58003 ESTABLISHED
tcp 0 0 rps0000.ovh.net:56314 iscsi00.rps.ovh.net:3260 ESTABLISHED
udp 0 0 localhost.locald:domain *:*
udp 0 0 *:sunrpc *:*
udp 0 0 mydomain.com:ntp *:*
udp 0 0 rps0000.ovh.net:ntp *:*
udp 0 0 localhost.localdoma:ntp *:*
udp 0 0 *:ntp *:*
Some troubleshooting pages say that there shuold be a line for Bind listening to port 53. Since I don't have that, could it be possible that there's something wrong, though
/etc/init.d/bind9 status
tells me bind9 is running?