|
|
 |  |
Re: Dynamic IPFrom: Scott Haneda Date: Monday, November 8, 2004
Time: 8:35:20 pmon 11/8/04 8:17 PM, Men & Mice Support at cbuxton@menandmice.com wrote:
> A dynamic DNS client should be available from whatever dynamic DNS
> system your friend chooses to use. However, if you're talking about
> him hitting your web server periodically, then it's not really
> necessary.
>
> So I'd guess you're asking about nsupdate. You can use something like this:
>
> nsupdate -k /var/named/conf/user_before data
>
> where data is a return-separated list of statements. If you want to
> just replace the A record named "example.com" with a new one each
> time, you can use statements like this:
>
> zone example.com
> update delete example.com A
> update add example.com 900 A ip-addr
> send
>
> The "900" is a TTL of 15 minutes. Replace "ip-addr" with the new IP address.
Perfect, and I don't have to tell bind anything special in re to dynamic
zones? It knows to reload the zone with the use of nsupdate?
To confirm
nsupdate -k /var/named/conf/user_before data.txt
Cat data.txt
zone example.com
update delete example.com A
update add example.com 900 A ip-addr
send
--
-------------------------------------------------------------
Scott Haneda Tel: 415.898.2602
<http://www.newgeo.com> Fax: 313.557.5052
<scott@newgeo.com> Novato, CA U.S.A.
|
Messages In This Thread:- Dynamic IP by Scott Haneda on Nov 8, 2004 at 6:35:56 pm
|

Return to Digital Point Solutions' Home Page |