issue creating a custom DHCPv4 option

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


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

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEg+HcACgkQiDbv+TR5q6JDNACdEesvet8j92L8NVgmA+5fAMYo
4pYAn0sF8QF8a1H6ueRYuC2+Nzte0yKu
=mmeO
-----END PGP SIGNATURE-----


More information about the bind10-users mailing list