A while back, I asked the list how I could get my dhcp server to update my
dns server.  I finally felt up to the task tonight so I downloaded a script
written by Michael D. Schleif:
    <http://leaf.sourceforge.net/devel/helices/scripts/dhcp_2_dns.sh>
I now have 3 questions:

First, it gives some error messages when I run it:

[: 20020908084404: out of range
[: 20020912062502: out of range
[: 20020912040952: out of range
[: 20020912042402: out of range

These are coming from line 174:

                # Lease expired?                        # 1
                [ $end -lt $current_date ] \
                        && continue
                [ ${debug:-0} -ne 0 ] && echo "Lease is CURRENT"

So, any idea how to stop these error messages?  I'm running on bering 1.0 rc
3 if that helps.

Second, it was suggested that I should run this from cron.  Is there any way
to have the dhcp server run it when the lease file is update instead?  (I
want to minimize the lag between an address changing and the dns server
being updated)

Finally, I'm hoping someone can answer a security related question.  Does it
pose any risk to use dns names (i.e. web_server.private.network) instead of
the IP addresses (i.e. 192.168.1.10) in the various configuration files?
I'm mainly thinking the shorewall files.

-Mark Ivey-



-------------------------------------------------------
In remembrance
www.osdn.com/911/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to