Re: Errors when I try to configure multiple DNS search suffixes in dhcpd.conf

2019-09-24 Thread Raf Czlonka
On Tue, Sep 24, 2019 at 11:43:02AM BST, Rudolf Leitgeb wrote: > > I was unable to figure out, what exactly is meant with RFC1035 type > string, but came to the conclusion, that dhcpd in its current iteration > only supports one domain name here. Oh well. > > Cheers, > > Rudi > Hi Rudi, It

Re: Errors when I try to configure multiple DNS search suffixes in dhcpd.conf

2019-09-24 Thread Carlos Lopez
On 24/09/2019 12:26, Erling Westenvik wrote: > On Tue, Sep 24, 2019 at 08:11:00AM +, Carlos Lopez wrote: >> When I try to configure multiple search DNS suffixes in dhcpd.conf, I >> am receiving the following error: >> >> /etc/dhcpd.conf line 21: &

Re: Errors when I try to configure multiple DNS search suffixes in dhcpd.conf

2019-09-24 Thread Rudolf Leitgeb
Had to try this myself, and yes, a configuration option with this name does not even exist in the source code of dhcpd. This caused me to reread the manpage: "Note that dhcpd(8) calls this option option-119 instead of domain-search and only supports the rfc1035 variant." So indeed, you

Re: Errors when I try to configure multiple DNS search suffixes in dhcpd.conf

2019-09-24 Thread Erling Westenvik
On Tue, Sep 24, 2019 at 08:11:00AM +, Carlos Lopez wrote: > When I try to configure multiple search DNS suffixes in dhcpd.conf, I > am receiving the following error: > > /etc/dhcpd.conf line 21: > option domain-search "custom.domain.org" > ^ >

Re: Errors when I try to configure multiple DNS search suffixes in dhcpd.conf

2019-09-24 Thread Carlos Lopez
Regards, C. L. Martinez On 24/09/2019 10:22, Rudolf Leitgeb wrote: > Could this be a case of missing semicolon at the end ? > Thanks Rudolf, but not ... My complete config is: subnet 172.22.55.0 netmask 255.255.255.224 { option routers 172.22.55.30; range 172.22.55.17

Re: Errors when I try to configure multiple DNS search suffixes in dhcpd.conf

2019-09-24 Thread Rudolf Leitgeb
Could this be a case of missing semicolon at the end ? On Tue, 2019-09-24 at 08:11 +, Carlos Lopez wrote: > Hi all, > > When I try to configure multiple search DNS suffixes in dhcpd.conf, I > am receiving the following error: > > /etc/dhcpd.conf line 21: >

Errors when I try to configure multiple DNS search suffixes in dhcpd.conf

2019-09-24 Thread Carlos Lopez
Hi all, When I try to configure multiple search DNS suffixes in dhcpd.conf, I am receiving the following error: /etc/dhcpd.conf line 21: option domain-search "custom.domain.org" ^ fatal in dhcpd: Configuration file errors encountered According to man pag

Re: Can you specify which interface DHCP should serve on, in /etc/dhcpd.conf , or only via arg?

2018-03-02 Thread Marcus MERIGHI
t not to touch any other interface than the > dedicated LAN interface - makes general sense, does it not? That's what happens: $ uname -a OpenBSD aa.bb.cc 6.2 GENERIC.MP#6 amd64 $ dhcpd -d Listening on carp2 (A.B.C.D). Can't listen on carp1 - dhcpd.conf has no subnet declaration for E.F.G.H.

Re: Can you specify which interface DHCP should serve on, in /etc/dhcpd.conf , or only via arg?

2018-03-01 Thread Tinker
On March 2, 2018 9:36 AM, Tinker wrote: .. > The only thing that's unique about the LAN interfaces is that among all (That should be singular, "LAN interface".)

Re: Can you specify which interface DHCP should serve on, in /etc/dhcpd.conf , or only via arg?

2018-03-01 Thread Tinker
; em1 , and you want to serve DHCP only on em1 , then the only way to do > > > > > > that is as a dhcpd argument, e.g. add a line 'dhcpd="em1"' to > > > > > > /etc/rc.conf.local or alternatively add a line "dhcpd em1" to > > > > > > /et

Re: Can you specify which interface DHCP should serve on, in /etc/dhcpd.conf , or only via arg?

2018-02-27 Thread Tinker
Hi Marcus, Thank you a lot for responding. Aha so dhcpd(8) will only listen to the interfaces that correspond to the subnets specified in dhcpd.conf(8), thank you for clarifying. What you say is, that dhcpd will make touch the interfaces that equivalence-match with subnets listed in dhcpd.conf

Re: Unsetting a DHCP option in dhcpd.conf(5)

2018-02-27 Thread Sonic
I suspect you can use groups, set it for a group and leave it out of another group. On Tue, Feb 27, 2018 at 12:55 PM, Grzegorz Kowalczyk <grzegorz.kowa...@gmail.com> wrote: > Hi, > > can an option be unset in a host declaration of dhcpd.conf(5)? > > I'm trying to set a ge

Unsetting a DHCP option in dhcpd.conf(5)

2018-02-27 Thread Grzegorz Kowalczyk
Hi, can an option be unset in a host declaration of dhcpd.conf(5)? I'm trying to set a generic "option routers A.B.C.D" option in a subnet block and disable it in some host blocks. I've already skimmed through dhcpd.conf(5) and dhcp-options(5) man pages, to no avail.

Re: Can you specify which interface DHCP should serve on, in /etc/dhcpd.conf , or only via arg?

2018-02-26 Thread Marcus MERIGHI
t is as a dhcpd argument, e.g. add a line 'dhcpd="em1"' to > /etc/rc.conf.local or alternatively add a line "dhcpd em1" to > /etc/rc.local - there is _no way_ to specify in /etc/dhcpd.conf which > network interfaces dhcpd will bind/serve on, right? > > Has this been for

Can you specify which interface DHCP should serve on, in /etc/dhcpd.conf , or only via arg?

2018-02-26 Thread Tinker
conf.local or alternatively add a line "dhcpd em1" to /etc/rc.local - there is _no way_ to specify in /etc/dhcpd.conf which network interfaces dhcpd will bind/serve on, right? Has this been for a particular reason (i.e. it's a feature) or just noone bothered? The usecase I describe abo

Dhcpd.conf

2011-11-17 Thread Bill Meigs
If the name after host starts with a number, I get an error in /var/log/messages and dhcpd fails to load. host 5tbgx280 { hardware ethernet 00:11:43:2f:87:d5; fixed-address 192.168.1.112; } Nov 17 10:53:57 pj dhcpd[8557]: /etc/dhcpd.conf line 115: expecting left brace

Re: dhcpd.conf won't accept a second 'hardware ..' line

2006-07-11 Thread djgoku
a commented out line (the problematic line,) and dhcpd complains about a missing semicolon at the end of that line had it not been commented out. At the moment, my dhcpd.conf is as follows: subnet xx.xx.xx.xx netmask 255.255.255.0 { option domain-name domain.name

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

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 '/domain-name-servers.*/{s/servers

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

Re: next-server option in dhcpd.conf tftp

2005-06-14 Thread Hugo Villeneuve
On Tue, Jun 14, 2005 at 09:38:07PM -0400, Chris Vanhoof wrote: First off Im running 3.6 on an alpha. This machine serves as a dhcp server for my home network. I recently purchased a Xyplex Terminal server, and I need to boot it from a tftp server. All is well if I tell the terminal