issue creating a custom DHCPv4 option

Carsten Strotmann carsten at strotmann.de
Sun Feb 17 17:28:17 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm running in a similar issues with DHCPv6, where I try to define the
option for RFC 6731:

> config add Dhcp6/option-def config set Dhcp6/option-def[0]/name
> "RDNSS_SELECTION" config set Dhcp6/option-def[0]/code 74 config set
> Dhcp6/option-def[0]/space "dhcp6" config set Dhcp6/option-def[0]/type
> "record" config set Dhcp6/option-def[0]/array false config set
> Dhcp6/option-def[0]/record-types "ipv6-address, uint8, fqdn" config
> set Dhcp6/option-def[0]/encapsulate "" config commit
Error: Configuration parsing failed: unable to override definition of
option '74' in standard option space 'dhcp6'.
Configuration not committed

The last record on option 74 is to my understanding an array of FQDN.
How would that be defined in bindctl?

Best regards

Carsten

Carsten Strotmann wrote:
> Hi,
> 
> I'm trying to define a custom DHCPv4 option (code 252, WPAD = Web
> Proxy Auto Discovery).
> 
> According to the BIND 10 guide 1.0.0-rc this option is not part of
> the defined standard options.
> 
> The configuration commands for bindctl are
> 
>> config add Dhcp4/option-def config set Dhcp4/option-def[0]/name 
>> "WPAD" config set Dhcp4/option-def[0]/code 252 config set 
>> Dhcp4/option-def[0]/type string config set
>> Dhcp4/option-def[0]/array false config set
>> Dhcp4/option-def[0]/record-types "" config set 
>> Dhcp4/option-def[0]/space "dhcp4" config set 
>> Dhcp4/option-def[0]/encapsulate "" config commit
> Error: Configuration parsing failed: unable to override definition
> of option '252' in standard option space 'dhcp4'. Configuration not
> committed
> 
> the configuration fails.
> 
> the example custom option "foo" from the BIND 10 guide works fine.
> 
> from dhcp4.h and std_option_defs.h code point 252 does not seem to
> be defined.
> 
> a bug or my fault?
> 
> -- Carsten _______________________________________________ 
> bind10-users mailing list bind10-users at lists.isc.org 
> https://lists.isc.org/mailman/listinfo/bind10-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEhEzEACgkQiDbv+TR5q6LFWgCfZ5hO4C+xCslSnPjkHN7dho3a
TZsAnRkNrFpsyrTEfkd4GuBwNf1brpnJ
=yw7P
-----END PGP SIGNATURE-----


More information about the bind10-users mailing list