I have setup bind9 according to this site:
I used these items:
domain: sias.co.cc
ip address: 192.168.101.163
This is NIC facing my comcast access.
There is another NIC that can connect up workstations for the domain.
None connected yet.
hostname of server pacslinux
other workstations not in use yet: pc www and ?
I just typed in some ip addresses for these workstations (...165 & ...166)
for gateway, I used my main gateway ip
192.168.101.1
Here is output of nslookup and dig
rich@pacslinux:~$ nslookup pacslinux
Server: 192.168.101.163
Address: 192.168.101.163#53
** server can't find pacslinux: NXDOMAIN
rich@pacslinux:~$ dig sias.co.cc
; <<>> DiG 9.7.0-P1 <<>> sias.co.cc
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 5262
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;sias.co.cc. IN A
;; Query time: 0 msec
;; SERVER: 192.168.101.163#53(192.168.101.163)
;; WHEN: Tue Apr 19 12:32:17 2011
;; MSG SIZE rcvd: 28
rich@pacslinux:~$
Can anyone make suggestions of fixing / improving /etc to what I've done so far ?
Here is contents of /etc/bind/zones/sias.co.cc.db
===========
$TTL 3D
@ IN SOA ns.sias.co.cc. admin.sias.co.cc. (
2007062001
28800
3600
604800
38400
);
sias.co.cc. IN NS ns.sias.co.cc.
pacslinux IN A 192.168.101.165
www IN CNAME pacslinux
pc IN A 192.168.101.166
gw IN A 192.168.101.1
TXT "Network Gateway"
=============================