[OpenIndiana-discuss] OpenSolaris and dynamic DNS
Gary Gendel
gary at genashor.com
Mon Feb 7 20:16:26 UTC 2011
Thanks for all the responses. Indeed, I've already replaced my cron script.
On 2/7/11 11:08 AM, Dave Miner wrote:
> On 02/ 7/11 10:43 AM, Gary Gendel wrote:
>> Something that someone mentioned in passing triggered a thought.
>>
>> My server gets it's ip address via DHCP from my ISP. Currently I have a
>> cron job that queries the address and, if it changed, update a DNS
>> server externally. This way I can use mail and web services external to
>> my network.
>>
>> Can I replace the cron job with a trigger from the dhcp client when it
>> gets a new IP address instead? Is this possible with the current dhcp
>> client or a replacement?
>>
>
> dhcpagent(1M) describes the eventhook mechanism built into the DHCP
> client. It's meant for exactly these sorts of uses.
>
> Dave
>
More information about the OpenIndiana-discuss
mailing list