details:im currently working on a school project that includes dns(bind), the goal is to setup bind on redhat 9.0.
i am an mcsa so im fairly attuned to how dns functions.
ive setup bind to the best of my knowledge and as far as im concerned i should be getting ping replies from my domain but im not.
goal: to receive a ping reply from technowidgets.com
eth0 config: 192.168.0.100 netmask /24
files:named.custom
Code:
## named.custom - custom configuration for bind
#
# Any changes not currently supported by redhat-config-bind should be put
# in this file.
#
zone "technowidgets.com" IN {
type master;
file "named.technowidgets.com";
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "named.0.168.192";
};
options {
directory "/var/named/";
};
files:named.0.168.192
Code:
$TTL 86400
@ IN SOA web1.technowidgets.com. admn.technowidgets.com. (
2002072100;Serial
28800 ;Refresh
14400 ;Retry
3600000 ;Expire
86400) ;Minimum
IN NS web1
50 IN PTR web2.technowidgets.com.
100 IN PTR web1.technowidgets.com.
150 IN PTR intranet.technowidgets.com.
200 IN PTR research.technowidgets.com.
files:named.technowidgets.com
Code:
$TTL 86400
@ IN SOA web1.technowidgets.com. admn.technowidgets.com. (
2002072100;Serial
28800 ;Refresh
14400 ;Retry
3600000 ;Expire
86400) ;Minimum
IN NS web1
IN A 192.168.0.100
IN MX 10 mail.technowidgets.com.
web2 IN A 192.168.0.50
web1 IN A 192.168.0.100
www IN CNAME web1
mail IN CNAME web1
intranet IN A 192.168.0.150
research IN A 192.168.0.200
files:resolv.conf
Code:
; generated by /sbin/dhclient-script
nameserver 192.168.0.100
nameserver 192.168.0.50
nameserver 192.168.0.150
nameserver 192.168.0.200
domain technowidgets.com
for some reason my named.conf file isnt in the /etc directory just my named.custom file. do i need to create the default named.conf file?
im trying to ping/dig the domain locally so i dont need to worry about firewalls etc... i can ping 192.168.0.100 which is my local address.
thanks
phobus