i've been trying to get dns going for over 3 weeks now... still nothing... i even jacked my friends copy of oreilly's dns book but i must be braindead b/c it still wont work.
i want the domain to point to my ip, and run apache, ftp, whatever...
ok, here we go, assume the following:
my domain is ex: blah.com
my static ip is ex: 1.2.3.4
there are 2 machines behind a router.
192.168.1.101 is the linux box (eclipse)
192.168.1.100 is a winxp box (viper)
the linux box is obviously the one running bind.
i did my best to set up the damn thing using webmin.
here is my setup:
named.conf
=================
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
zone "." {Quote:};
type hint;
file "/etc/db.cache";
zone "blah.com" {Quote:};
type master;
file "/etc/blah.com.hosts";
zone "4.3.2.1.in-addr.arpa" {Quote:};
type master;
file "/etc/1.2.3.4.rev";
===============Quote:};
here is /etc/1.2.3.4.rev
==========================
$ttl 38400
4.3.2.1.in-addr.arpa. IN SOA ns1.blah.com. root.blah.com. (
1024792452
10800
3600
604800
38400 )
4.3.2.1.in-addr.arpa. IN NS ns1.blah.com.
100.1.168.192.in-addr.arpa. IN PTR viper.blah.com.
101.1.168.192.in-addr.arpa. IN PTR eclipse.blah.com.
==========
here is /etc/blah.com.hosts
=====================
$ttl 38400
blah.com. IN SOA ns1.blah.com. root.blah.com. (
1024792381
10800
3600
604800
38400 )
blah.com. IN NS ns1.blah.com.
www.blah.com. IN A 1.2.3.4
ftp.blah.com. IN A 1.2.3.4
viper.blah.com. IN A 192.168.1.100
eclipse.blah.com. IN A 192.168.1.101
===================
here is /etc/hosts:
127.0.0.1 localhost.localdomain localhost
192.168.1.100 viper.blah.com viper
192.168.1.101 eclipse.blah.com eclipse
====================
this is all i did, no other configs/settings were touched... btw do i need to change anything in /etc/hosts or /etc/resolv.conf?
thanks in advance to anyone who has the time/patience to help me out with this