dnsupdate in create mode (-f option) would
create /etc/resolv.conf. But it may not happen in most
cases, since a function call, RestartNamed would
return some vague value and would exit before creating
the resolv.conf file. This was because, I forgot to
add a return SUCCESS as the last line in the
RestartNamed function, hence it would return some
This patch fixes it in both version 1.0 and 1.1.
How to patch:
> cd dnsupdate
> patch util.c < util.c.patch
If u r unable to get patch working, add the following
line as the last line of the function RestartNamed in
Log in to post a comment.