Click to See Complete Forum and Search --> : NEED DNS HELP


optimised
08-05-2001, 06:05 PM
Problems with dns server. When I exec dig ibm.com returns fine. If I run 'dig @localhost www.ibm.com (http://www.ibm.com) it times out server not found. The is the same problem I'm having when trying to exec dig for my own domain but running dig google.com returns fine.
Looking for some help maybe with my config files ~

##named.conf
options {
directory "/var/named/";
};

key rndc_key {
algorithm hmac-md5;
secret "NDs78kjheRT8vwe==";
};

controls {inet 172.25.47.55 port 953 allow {localhost;} keys {rndc_key;};};

zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};

zone "localhost" {
type master;
file "localhost.zone";
};
zone "www.hostman.com";; {
type master;
file "www.hostman.com.zone";;;
};

## www.hostman.com.zone (http://www.hostman.com.zone)

$TTL 86400
@ IN SOA @ root.localhost{
2;serial
28800;refresh
7200;retry
604800;expire
86400;ttl
}
@ IN NS ns1.hostman.com


##Hostfile
127.0.0.1 ns1.hostman.com ns1 localhost.localdomain localhost
172.25.47.55 ns1.hostman.com ns1
172.25.47.56 ns2.hostman.com ns2


##resolve.conf
search ns1.hostman.com
nameserver 209.x.x.x (isp's)
nameserver 209.x.x.x (ips's)


## httpd.conf - configuration for the Apache web server
ServerName ns1.hostman.com
ServerAdmin me@home.com
Listen *:80
Port 80
# Defaults for virtual hosts
ServerSignature on
# Virtual hosts
# Virtual host Default Virtual Host
<VirtualHost _default_:*>
ServerName _default_
DirectoryIndex index.php index.html index.htm index.shtml
ServerSignature email
LogLevel warn
HostNameLookups off
</VirtualHost>

# Virtual host www.hostman.com (http://www.hostman.com)
<VirtualHost 172.25.47.55>
DocumentRoot /home/hostman/www/
ServerAdmin joeschmitt@bdstreet.com
ServerName www.hostman.com (http://www.hostman.com) ;
ServerSignature email
</VirtualHost>

Thanks!

PLBlaze
08-06-2001, 11:23 AM
Hmm... i have my own share of bind problems.From your info it seems that your dns entries from /etc/resolv.conf point to your isp while you run your own ns.* entries why not try to plug them in /etc/resolv.conf and try doing dig...hope this helps.

optimised
08-06-2001, 03:45 PM
Considering that I'm new to dns. My current isp is broadstreet.com they gave me two public ip addresses as shown here.
172.26.x.x mapped to 205.33.x.x
172.26.x.x mapped to 205.33.x.x
I configured the eth0 on both boxes using the 172#'s and can connect to the net fine.
I can ping and ftp to the 205#'s and get my two boxes fine.
I registered my ns1 and ns2 using the 205#'s on friday 8-3.
If I change the nameservers from my isp's to the 205#s I can no longer connect to the net????? Do I need to contact my isp?
~ Thanks