Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 554 Bytes

resolv.md

File metadata and controls

26 lines (18 loc) · 554 Bytes

Configure Domain Name Service (DNS) resolution.

attributes/resolv.rb
recipes/resolv.rb
templates/*/etc_resolv.conf.erb

Attributes

All attributes in node.sys.resolv:

  • servers (required) list a DNS server hosts.
  • domain (optional) local domain name.
  • search (optional) list for host-name lookup.

Example

"sys" => {
  [...SNIP...]
  "resolv" => {
    "servers" => [ "10.1.1.1","10.1.1.2" ],
    "domain" => "devops.test",
    "search" => "sub.devops.test devops.test"
  }
}