New to BIND
George Esperanza
georgeesperanza at yahoo.com
Sat Aug 14 10:15:41 UTC 2004
Hello BIND users!
I'm new to bind and i'm trying to experiment installing
bind in an Intranet network (no internet connection) to
resolve local network ip addresses.
I'm running BIND 9.2.2 in a Linux with 2.4.2 kernel.
I've already setup the files needed to run named and it
shows no error on startup. All i see is this in the log file:
>Aug 14 17:33:14 amygpe named[512]: using 1 CPU
>Aug 14 17:33:14 amygpe named[512]: loading configuration from '/etc/named.conf'
>Aug 14 17:33:14 amygpe named[512]: no IPv6 interfaces found
>Aug 14 17:33:14 amygpe named[512]: command channel listening on 127.0.0.1#953
>Aug 14 17:33:15 amygpe named[512]: zone 0.0.127.in-addr.arpa/IN: loaded serial 2004081400
>Aug 14 17:33:15 amygpe named[512]: zone 1.168.192.in-addr.arpa/IN: loaded serial 2004081400
>Aug 14 17:33:15 amygpe named[512]: zone homelinux.net/IN: loaded serial 2004081400
>Aug 14 17:33:15 amygpe named[512]: running
When i try to ping:
ping amygpe.homelinux.net
(it says) ping: unknown host amygpe.homelinux.net
Please tell me what's wrong with my configuration, I've attached all
my named config file for you to see what i've done.
I still don't have registered domain so i just pick homelinux.net which
is registered by somebody else. I'm planning to have one later but
i need to make this thing first.
Please help, thanks. :(
George
----------- /etc/resolv.conf ---------
search homelinux.net
nameserver 127.0.0.1
----------- end of resolv.conf -------
-------------- named.conf -------------------------
options {
directory "/var/named";
listen-on { 192.168.1.0; };
};
zone "." IN {
type hint;
file "homelinux/named.ca";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "homelinux/named.local";
};
zone "homelinux.net" {
type master;
notify no;
file "homelinux/named.homelinux.net";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "homelinux/named.rev";
};
---------- end of named.conf --------
---------- named.homelinux.net ------
$TTL 86400
@ IN SOA ns.homelinux.net. root.homelinux.net. (
2004081400 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
NS ns ; Inet Address of name server
MX 10 mail.homelinux.net. ; Primary Mail Exchanger
;
localhost A 127.0.0.1
ns A 192.168.1.50
amygpe CNAME ns
mail CNAME ns
smtp CNAME ns
pop CNAME ns
www CNAME ns
maymay A 192.168.1.102
---------- end of named.homelinux.net ------
---------- named.local ----------------
$TTL 86400
@ IN SOA ns.homelinux.net. root.homelinux.net. (
2004081400 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
NS ns.homelinux.net.
1 PTR localhost.
---------- end of named.local ----------------
---------- named.rev -----------------
$TTL 86400
@ IN SOA ns.homelinux.net. root.homelinux.net. (
2004081400 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
NS ns.homelinux.net.
50 PTR ns.homelinux.net.
PTR amygpe.homelinux.net.
PTR mail.homelinux.net.
102 PTR maymay.homelinux.net.
-----------end of named.rev ------------
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
More information about the bind-users
mailing list