diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-04-09 21:16:24 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-04-09 21:16:24 +0000 |
commit | fff3c95c3e57a6b394125f6d14881c78ec535614 (patch) | |
tree | 91a47ccb9404210806f2f9c303beb503ffc5035d /sbin/dhclient | |
parent | b2b8e1e784db008963fee88995689b72b2535cfe (diff) |
document that dhclient-script overwrites resolv.conf,
and use of resolv.conf.tail;
issue spotted by rick barter via nick;
ok henning@ jaredy@ nick@
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/dhclient-script.8 | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient-script.8 b/sbin/dhclient/dhclient-script.8 index 57a2abdc54e..c45b3b3c234 100644 --- a/sbin/dhclient/dhclient-script.8 +++ b/sbin/dhclient/dhclient-script.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dhclient-script.8,v 1.2 2004/04/09 18:30:15 jmc Exp $ +.\" $OpenBSD: dhclient-script.8,v 1.3 2005/04/09 21:16:23 jmc Exp $ .\" .\" Copyright (c) 1997 The Internet Software Consortium. .\" All rights reserved. @@ -149,6 +149,22 @@ A default route should be set using and static routes may need to be set up using .Va $new_static_routes . .Pp +Note: since +.Nm +effectively overwrites +.Pa /etc/resolv.conf , +any information contained therein is lost. +If options must be passed to the resolver, +they may be contained in +.Pa /etc/resolv.conf.tail , +which is appended to the generated +.Pa /etc/resolv.conf +by +.Nm . +See +.Xr resolv.conf.tail 5 +for further information. +.Pp If an IP alias has been declared, it must be set up here. The alias IP address will be written as .Va $alias_ip_address , @@ -217,6 +233,7 @@ but current scripts do not do this. .Sh SEE ALSO .Xr dhclient.conf 5 , .Xr dhclient.leases 5 , +.Xr resolv.conf.tail 5 , .Xr dhclient 8 , .Xr dhcpd 8 , .Xr dhcrelay 8 |