Re: Dynamically update DNS info in DHCPD.CONF

2006-03-29 Thread NetNeanderthal
On 3/29/06, Isaac Levy [EMAIL PROTECTED] wrote: On 3/28/06, NetNeanderthal [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] ~]$ man -k python python: nothing appropriate Is your python install broken? It must be. I checked four other default OpenBSD installs, it's broken on every one of them

Dynamically update DNS info in DHCPD.CONF

2006-03-28 Thread Peter Bako
Is there any way to get the DHCPD.CONF file be set to use the DNS information from the resolv.conf file? Specifically I have a case where my firewall's outside interface gets its IP address via DHCP from the ISP. When I initially setup the firewall I put their DNS IP numbers into my conf file

Re: Dynamically update DNS info in DHCPD.CONF

2006-03-28 Thread Nick Guenther
On 3/28/06, Peter Bako [EMAIL PROTECTED] wrote: Is there any way to get the DHCPD.CONF file be set to use the DNS information from the resolv.conf file? Specifically I have a case where my firewall's outside interface gets its IP address via DHCP from the ISP. When I initially setup the

Re: Dynamically update DNS info in DHCPD.CONF

2006-03-28 Thread Jeff Quast
On 3/28/06, Peter Bako [EMAIL PROTECTED] wrote: Is there any way to get the DHCPD.CONF file be set to use the DNS information from the resolv.conf file? nms=`awk '{ if ($1 == nameserver) print $2 }' /etc/resolv.conf` nms=`echo $nms | sed 's/ /, /g'` sed -n

Re: Dynamically update DNS info in DHCPD.CONF

2006-03-28 Thread NetNeanderthal
On 3/28/06, Nick Guenther [EMAIL PROTECTED] wrote: Well you could always script it: #dhcpmeep.py chop after it. Of course, it does this in a very bad (and untested) way, but you get the idea. [EMAIL PROTECTED] ~]$ man -k python python: nothing appropriate

Re: Dynamically update DNS info in DHCPD.CONF

2006-03-28 Thread Nick Guenther
On 3/29/06, NetNeanderthal [EMAIL PROTECTED] wrote: after it. Of course, it does this in a very bad (and untested) way, but you get the idea. [EMAIL PROTECTED] ~]$ man -k python python: nothing appropriate Well you'd either install python or translate it first, obviously. Python is just

Re: Dynamically update DNS info in DHCPD.CONF

2006-03-28 Thread Isaac Levy
Hi there, On 3/28/06, NetNeanderthal [EMAIL PROTECTED] wrote: On 3/28/06, Nick Guenther [EMAIL PROTECTED] wrote: Well you could always script it: #dhcpmeep.py chop after it. Of course, it does this in a very bad (and untested) way, but you get the idea. [EMAIL PROTECTED] ~]$ man