Here are some questions for you:
1. What version of bind r u running?
2. Start with the simple solutions (ie. is bind running?)
3. What sort of errors are you getting in your logs?
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 "." {
type hint;
file "/etc/db.cache";
};
zone "blah.com" {
type master;
file "/etc/blah.com.hosts";
};
zone "4.3.2.1.in-addr.arpa" {
type master;
file "/etc/1.2.3.4.rev";
};
===============
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
Here are some questions for you:
1. What version of bind r u running?
2. Start with the simple solutions (ie. is bind running?)
3. What sort of errors are you getting in your logs?
bind is ver 9... came with mandrake 8.2
it runs, but the dns does not get resolved...
when i typ www.blah.com it doesnt connect to my computer
I know nothing about this topic, but a very good friend of mine does and written the following guide to djbdns.
http://djbdns.wolfhome.com
Maybe it will help you?
Bookmarks