Here's the file
[root@horlen root]# more /home/dns/etc/named.conf
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see
http://www.e-smith.org/custom/#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------
options {
directory "/var/named";
forward first;
forwarders { 212.181.54.2; ; };
listen-on { 127.0.0.1; 192.168.0.2; };
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
#----------------------------------------
# root name servers
#----------------------------------------
zone "." {
type hint;
file "named.ca";
};
#----------------------------------------
# localhost PTR record
#----------------------------------------
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "localhost." {
type master;
file "named.localhost";
};
#----------------------------------------
# local network PTR records
#----------------------------------------
zone "0.168.192.in-addr.arpa."
{
type forward;
forward first;
forwarders { 212.181.54.2; ; };
};
zone "horlen.com"
{
type forward;
forward first;
forwarders { 212.181.54.2; ; };
};