Date: Sat, 16 Feb 2002 15:08:20 -0800 From: "Patrick Soltani" <psoltani@ultradns.com> To: "Jorge Ramirez" <ijand2@yahoo.com> Cc: <newbies@freebsd.org> Subject: RE: DNS Server Setup Message-ID: <3DBB075EEB95944492E127F2B9A96FAF328046@ultra-exchange.UltraDNS.com>
next in thread | raw e-mail | index | archive | help
set up your dns on internal ip address of your LAN, eg. 192.168.1.1.
In the options section of /etc/namedb/named.conf file, or wherever you have installed the conf file add:
forwarders { 206.13.28.12; 206.13.31.12; }; // Ip addresses of your isp
query-source port 53;
// query-source address 192.168.1.1 port 53; // one or the other, line above it.
// allow-query { any; };
listen-on {
192.168.1.1; // internal DNS server address
127.0.0.1; // loopback address
};
Now your inernal machines can pickup 192.168.1.1 as their name server, and your internal name server should be able to ask your isp if it doesn't know the name request.
Regards,
Patrick Soltani.
-----Original Message-----
From: Jorge Ramirez [mailto:ijand2@yahoo.com]
Sent: Saturday, February 16, 2002 2:16 PM
To: questions@freebsd.org
Cc: newbies@freebsd.org
Subject: DNS Server Setup
I was wondering if someone could help me out. I'm just started using
freebsd (well, unix in general) and im trying to set up a dns server.
The server is connected to a dsl modem/router. I'm not sure which IP
address to create a zone for, the dsl modem's ip address (which is the
one the internet sees) or the server's IP address. Can someone help me out?
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DBB075EEB95944492E127F2B9A96FAF328046>
