Bind Operations - Set Up DNS Client: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
=Overview=
=Overview=


The "DNS Client" consists of a set of library calls that are configured as described below.
The "DNS client" consists of a set of library calls that are configured as described below.


=Configuration=
=Configuration=
Line 17: Line 17:
===/etc/resolv.conf===
===/etc/resolv.conf===


<tt>/etc/resolv.conf</tt> specifies the configuration of the DNS resolver. However, in some cases its content it is overwritten by network initialization scripts/[[NetworkManager|network manager]]. Details, and instructions how to configure it are available here:
<code>/etc/resolv.conf</code> specifies the configuration of the DNS resolver. However, in some cases its content it is overwritten by network initialization scripts or [[NetworkManager]]. Details on how to configure the DNS resolution, including the case of [[NetworkManager]] are available here:


{{Internal|/etc/resolv.conf|/etc/resolv.conf}}
{{Internal|/etc/resolv.conf|/etc/resolv.conf}}
Line 24: Line 24:


{{Internal|/etc/nsswitch.conf|/etc/nsswitch.conf}}
{{Internal|/etc/nsswitch.conf|/etc/nsswitch.conf}}
==Test==
Test with [[dig]] or [[nslookup]].

Latest revision as of 01:17, 22 November 2021

Internal

Overview

The "DNS client" consists of a set of library calls that are configured as described below.

Configuration

Services

There are no services that need to be started.

Configuration Files

/etc/resolv.conf

/etc/resolv.conf specifies the configuration of the DNS resolver. However, in some cases its content it is overwritten by network initialization scripts or NetworkManager. Details on how to configure the DNS resolution, including the case of NetworkManager are available here:

/etc/resolv.conf

/etc/nsswitch.conf

/etc/nsswitch.conf

Test

Test with dig or nslookup.