diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-02-16 22:35:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-02-16 22:35:09 +0000 |
commit | 831d033d8f001f3d1c9ef01ab1962ea2af53b537 (patch) | |
tree | 6e70e9dbed85756a44ccfc60123c5846b821ea42 /share/man/man8 | |
parent | 613e781211c19f7f13464ce4bf9526f0b17b5d56 (diff) |
Recommend checking DNS.
Joint work of lum@, jmc@ and myself;
committing on behalf of lum@ who is short on time.
ok jmc@ lum@ miod@
Diffstat (limited to 'share/man/man8')
-rw-r--r-- | share/man/man8/afterboot.8 | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8 index 25f876d9693..2746e260d7a 100644 --- a/share/man/man8/afterboot.8 +++ b/share/man/man8/afterboot.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: afterboot.8,v 1.132 2011/01/30 15:37:17 schwarze Exp $ +.\" $OpenBSD: afterboot.8,v 1.133 2011/02/16 22:35:08 schwarze Exp $ .\" .\" Copyright (c) 1997 Marshall M. Midden .\" All rights reserved. @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 30 2011 $ +.Dd $Mdocdate: February 16 2011 $ .Dt AFTERBOOT 8 .\" Originally created by Marshall M. Midden -- 1997-10-20, m4@umn.edu .Os @@ -260,6 +260,30 @@ is required) to .Dl net.inet6.ip6.forwarding=1 .Pp Packets are not forwarded by default, due to RFC requirements. +.Ss Check DNS +Use +.Xr host 1 +or +.Xr dig 1 +to check that domain name resolution is working properly. +.Pp +Most likely, the IP address of at least one domain name server +was added to +.Xr resolv.conf 5 +while installing the system. +If DHCP is in use, it will overwrite +.Pa /etc/resolv.conf +every time +.Xr dhclient-script 8 +is run but +.Pa /etc/resolv.conf.tail +can be used to add options and extra name servers to those received +dynamically. +.Pp +A +.Xr hosts 5 +file can be used if there is a need for system specific name +resolution entries. .Ss Check disk mounts Check that the disks are mounted correctly by comparing the |