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!
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!