validation of IP address in Bind8

Stefan Puiu stefan.puiu at gmail.com
Wed Aug 3 07:28:39 UTC 2005


Not sure if there is some simple command that does that, but I guess
you can write a simple C program using inet_pton() that does that.

On 8/3/05, Roman Mashak <romez777 at gmail.com> wrote:
> Hello,
>=20
> I've found that 'nsupdate' in Bind8 doesn't provide IP-address
> validation, i.e. for example if I use address as 400.400.400.400
> (that's illegal), no function invoked from 'nsupdate' will return any
> error code. On the other hand Bind won't add this IP into zone, means
> there's checking somewhere in the depth of named, but where? I need
> this for my application.
>=20
> PS. I know Bind9's 'nsupdate' validates IP, but for some reasons I'm
> strictly binded to named-8.3.2
>=20
> --=3D20
> Roman
>=20
>=20
>



More information about the bind-users mailing list