Ok, so the plot thickens...
I created a domain, gbtel.ca, which isn't live yet as this is a test box. I point my PC's DNS entry to this box to check if it's working properly.
Anyways, the domain is created and then when I run netstat -tap I get that Bind is listening. However, I'm still not able to use this box to resolve sites. Here's the updated info:
[root@ns2 ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 2204/dovecot
tcp 0 0 *

op3s *:* LISTEN 2204/dovecot
tcp 0 0 *:mysql *:* LISTEN 6068/mysqld
tcp 0 0 *

op3 *:* LISTEN 2204/dovecot
tcp 0 0 *:imap *:* LISTEN 2204/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1709/rpcbind
tcp 0 0 *:81 *:* LISTEN 9254/ispconfig_http
tcp 0 0 ns2.gbtel.ca:domain *:* LISTEN 7666/named
tcp 0 0 localhost.localdomai:domain *:* LISTEN 7666/named
tcp 0 0 *:ssh *:* LISTEN 2067/sshd
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2388/cupsd
tcp 0 0 *:51256 *:* LISTEN 1722/rpc.statd
tcp 0 0 localhost.localdomain:rndc *:* LISTEN 7666/named
tcp 0 0 *:smtp *:* LISTEN 22819/master
tcp 0 0 localhost.localdomain:59905 localhost.localdomain:rndc TIME_WAIT -
tcp 0 2040 ns2.gbtel.ca:ssh bas1-hamilton:netwatcher-db ESTABLISHED 5865/1
tcp 0 0 *:imaps *:* LISTEN 2204/dovecot
tcp 0 0 *

op3s *:* LISTEN 2204/dovecot
tcp 0 0 *

op3 *:* LISTEN 2204/dovecot
tcp 0 0 *:imap *:* LISTEN 2204/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1709/rpcbind
tcp 0 0 *:http *:* LISTEN 9276/httpd
tcp 0 0 *:ftp *:* LISTEN 9947/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN 2067/sshd
tcp 0 0 localhost6.localdomain:rndc *:* LISTEN 7666/named
tcp 0 0 *:smtp *:* LISTEN 22819/master
tcp 0 0 *:https *:* LISTEN 9276/httpd
Here's what I get when I run nmap -sS -O -p 0-100 -PI -PT 216.185.252.131
Starting Nmap 4.68 (
http://nmap.org ) at 2008-12-05 16:32 EST
Interesting ports on ns2.gbtel.ca (216.185.252.131):
Not shown: 95 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
81/tcp open hosts2-ns
Device type: general purpose
Running: Linux 2.6.X
OS details: Linux 2.6.17 - 2.6.24
Uptime: 2.148 days (since Wed Dec 3 12:58:50 2008)
Network Distance: 0 hops
and the contents of my named.conf
options {
pid-file "/var/named/chroot/var/run/named/named.pid";
directory "/var/named/chroot/var/named";
auth-nxdomain no;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "gbtel.ca" {
type master;
file "pri.gbtel.ca";
};
Recent comments
1 day 35 min ago
1 day 5 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 14 hours ago
1 day 14 hours ago
1 day 17 hours ago
2 days 6 hours ago
2 days 7 hours ago