From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 04:50:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E21AA16A4CE for ; Sun, 7 Mar 2004 04:50:46 -0800 (PST) Received: from lillith-iv.ovirt.dyndns.ws (ppp36-152.lns1.adl1.internode.on.net [150.101.36.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B8DB43D1D for ; Sun, 7 Mar 2004 04:50:46 -0800 (PST) (envelope-from ws+freebsd-questions@au.dyndns.ws) X-Envelope-From: ws+freebsd-questions@au.dyndns.ws X-Envelope-To: Received: from [192.168.100.132] (ppp36-152.lns1.adl1.internode.on.net [150.101.36.152])i27Coha8010451 for ; Sun, 7 Mar 2004 23:20:44 +1030 (CST) (envelope-from ws+freebsd-questions@au.dyndns.ws) From: Wayne Sierke To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1078663882.657.641.camel@ovirt.dyndns.ws> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 07 Mar 2004 23:21:22 +1030 Content-Transfer-Encoding: 7bit X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.38 Subject: Automatically maintaining dns server addresses from an external router X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2004 12:50:47 -0000 As indicated in another thread (ssh disconnecting) I currently have a D-Link router managing my dynamic-IP Internet connection. I currently let my workstations use the dns services provided by the router since the router "knows" the current IP addresses for the upstream dns servers. I would like to shift the dns services for the LAN to my FreeBSD-5.2 server but my reluctance to date has hinged on (avoiding) having to manually maintain the upstream dns server addresses on the local server. Is there an automated way of achieving this? The first thing that comes to mind is to do something similar to ddclient, which reads the html status page from the router to extract the current Internet IP address. I don't know of anything equivalent for maintaining dns server addresses but I can envisage it as a starting point for knocking something together myself however I don't doubt that a better way exists! All the material I've seen about techniques for maintaining IP/dns addresses seems to revolve around the machine itself being used as a router, dhcp server, etc. Would very much appreciate any suggestions. Thanks, Wayne