From owner-freebsd-newbies Sat Feb 16 15: 8:27 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from postfix.ultradns.net (postfix.ultradns.net [204.74.100.40]) by hub.freebsd.org (Postfix) with ESMTP id 68A2B37B404 for ; Sat, 16 Feb 2002 15:08:24 -0800 (PST) Received: from localhost (localhost.ultradns.net [127.0.0.1]) by postfix.ultradns.net (Postfix) with ESMTP id 4ED3D22FDF; Sat, 16 Feb 2002 15:09:57 -0800 (PST) Received: from ultra-exchange.UltraDNS.com (nat-external.ultradns.net [204.74.100.10]) by postfix.ultradns.net (Postfix) with ESMTP id A136422F91; Sat, 16 Feb 2002 15:09:54 -0800 (PST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: DNS Server Setup X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Sat, 16 Feb 2002 15:08:20 -0800 Message-ID: <3DBB075EEB95944492E127F2B9A96FAF328046@ultra-exchange.UltraDNS.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DNS Server Setup Thread-Index: AcG3N6OqmpTYzYzXQsC8cCSpHBJ8SQABhvRg From: "Patrick Soltani" To: "Jorge Ramirez" Cc: X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org set up your dns on internal ip address of your LAN, eg. 192.168.1.1.=20 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=20 }; 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