From owner-freebsd-questions Thu Aug 1 10:29:39 2002 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 2F06237B400 for ; Thu, 1 Aug 2002 10:29:36 -0700 (PDT) Received: from host3.visualpresence2000.com (host3.visualpresence2000.com [209.239.53.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AE5743E6A for ; Thu, 1 Aug 2002 10:29:35 -0700 (PDT) (envelope-from ken@carnahan.ws) Received: from SlotTech1 ([216.190.36.99]) by host3.visualpresence2000.com (8.10.2/8.10.2) with SMTP id g71HTTF26959 for ; Thu, 1 Aug 2002 13:29:29 -0400 Message-ID: <00cb01c23980$fdb3eea0$2cc8010a@palacasino.com> From: "Ken" To: Subject: Dynamic DNS issues Date: Thu, 1 Aug 2002 10:29:25 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello all, I have a DSL connection (Dynamic IP) that feeds my DLINK wireless router/firewall. I have my Freebsd box hardwired to the router and then I have a laptop and a windows box using wireless nics. Everything works great! Now I want to allow access to my web and ftp server on the Bsd box. I have my own domain name already and can use one of the dynamic dns hosting services. But how can I (automatically of course), update my dynamic dns? I am unsure how to pull the wan ip from the router. The router is passing all requests on port 80 to my bsd box. But I need to find out my wan ip to update the dns. I would like to maybe run a shell script or something get the wan ip and then update the dns. I have a script ot do the actual update, but any ideas on how to pull the wan ip? All I keep getting back is the lan ip (192.168.0.1) Any thoughts or ideas from anybody ? This wouldn't be so bad but it seems that the dynamic ip is changed at odd intervals and pretty often. So it makes it a real pain to keep up with it manually. Thanks Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message