resolvconf.conf.5.in (221297) | resolvconf.conf.5.in (239477) |
---|---|
1.\" Copyright (c) 2009-2010 Roy Marples 2.\" All rights reserved 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 99 unchanged lines hidden (view full) --- 108in the subscribers main configuration file. 109.Bl -tag -width indent 110.It Sy dnsmasq_conf 111This file tells dnsmasq which nameservers to use for specific domains. 112.It Sy dnsmasq_resolv 113This file tells dnsmasq which nameservers to use for global lookups. 114.Pp 115Example resolvconf.conf for dnsmasq: | 1.\" Copyright (c) 2009-2010 Roy Marples 2.\" All rights reserved 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 99 unchanged lines hidden (view full) --- 108in the subscribers main configuration file. 109.Bl -tag -width indent 110.It Sy dnsmasq_conf 111This file tells dnsmasq which nameservers to use for specific domains. 112.It Sy dnsmasq_resolv 113This file tells dnsmasq which nameservers to use for global lookups. 114.Pp 115Example resolvconf.conf for dnsmasq: |
116.D1 nameservers=127.0.0.1 | 116.D1 name_servers=127.0.0.1 |
117.D1 dnsmasq_conf=/etc/dnsmasq-conf.conf 118.D1 dnsmasq_resolv=/etc/dnsmasq-resolv.conf 119.Pp 120Example dnsmasq.conf: 121.D1 listen-address=127.0.0.1 122.D1 conf-file=/etc/dnsmasq-conf.conf 123.D1 resolv-file=/etc/dnsmasq-resolv.conf 124.It Sy named_options 125Include this file in the named options block. 126This file tells named which nameservers to use for global lookups. 127.It Sy named_zones 128Include this file in the named global scope, after the options block. 129This file tells named which nameservers to use for specific domains. 130.Pp 131Example resolvconf.conf for named: | 117.D1 dnsmasq_conf=/etc/dnsmasq-conf.conf 118.D1 dnsmasq_resolv=/etc/dnsmasq-resolv.conf 119.Pp 120Example dnsmasq.conf: 121.D1 listen-address=127.0.0.1 122.D1 conf-file=/etc/dnsmasq-conf.conf 123.D1 resolv-file=/etc/dnsmasq-resolv.conf 124.It Sy named_options 125Include this file in the named options block. 126This file tells named which nameservers to use for global lookups. 127.It Sy named_zones 128Include this file in the named global scope, after the options block. 129This file tells named which nameservers to use for specific domains. 130.Pp 131Example resolvconf.conf for named: |
132.D1 nameservers=127.0.0.1 | 132.D1 name_servers=127.0.0.1 |
133.D1 named_options=/etc/named-options.conf 134.D1 named_zones=/etc/named-zones.conf 135.Pp 136Example named.conf: 137.D1 options { 138.D1 listen-on { 127.0.0.1; }; 139.D1 include "/etc/named-options.conf"; 140.D1 }; --- 6 unchanged lines hidden (view full) --- 147.Pa pdnsd_resolv 148as documented below. 149.It Sy pdnsd_resolv 150This file tells pdnsd about global nameservers. 151If this variable is not set then it's written to 152.Pa pdnsd_conf . 153.Pp 154Example resolvconf.conf for pdnsd: | 133.D1 named_options=/etc/named-options.conf 134.D1 named_zones=/etc/named-zones.conf 135.Pp 136Example named.conf: 137.D1 options { 138.D1 listen-on { 127.0.0.1; }; 139.D1 include "/etc/named-options.conf"; 140.D1 }; --- 6 unchanged lines hidden (view full) --- 147.Pa pdnsd_resolv 148as documented below. 149.It Sy pdnsd_resolv 150This file tells pdnsd about global nameservers. 151If this variable is not set then it's written to 152.Pa pdnsd_conf . 153.Pp 154Example resolvconf.conf for pdnsd: |
155.D1 nameservers=127.0.0.1 | 155.D1 name_servers=127.0.0.1 |
156.D1 pdnsd_conf=/etc/pdnsd.conf 157.D1 # pdnsd_resolv=/etc/pdnsd-resolv.conf 158.Pp 159Example pdnsd.conf: 160.D1 global { 161.D1 server_ip = 127.0.0.1; 162.D1 status_ctl = on; 163.D1 } 164.D1 server { 165.D1 # A server definition is required, even if emtpy. 166.D1 label="empty"; 167.D1 proxy_only=on; 168.D1 # file="/etc/pdnsd-resolv.conf"; 169.D1 } 170.It Sy unbound_conf 171This file tells unbound about specific and global nameservers. 172.Pp 173Example resolvconf.conf for unbound: | 156.D1 pdnsd_conf=/etc/pdnsd.conf 157.D1 # pdnsd_resolv=/etc/pdnsd-resolv.conf 158.Pp 159Example pdnsd.conf: 160.D1 global { 161.D1 server_ip = 127.0.0.1; 162.D1 status_ctl = on; 163.D1 } 164.D1 server { 165.D1 # A server definition is required, even if emtpy. 166.D1 label="empty"; 167.D1 proxy_only=on; 168.D1 # file="/etc/pdnsd-resolv.conf"; 169.D1 } 170.It Sy unbound_conf 171This file tells unbound about specific and global nameservers. 172.Pp 173Example resolvconf.conf for unbound: |
174.D1 nameservers=127.0.0.1 | 174.D1 name_servers=127.0.0.1 |
175.D1 unbound_conf=/etc/unbound-resolvconf.conf 176.Pp 177Example unbound.conf: 178.D1 include: /etc/unbound-resolvconf.conf 179.El 180.Sh SEE ALSO 181.Xr resolv.conf 5 182and 183.Xr resolvconf 8 . 184.Sh AUTHORS 185.An Roy Marples Aq roy@marples.name 186.Sh BUGS 187Please report them to http://roy.marples.name/projects/openresolv | 175.D1 unbound_conf=/etc/unbound-resolvconf.conf 176.Pp 177Example unbound.conf: 178.D1 include: /etc/unbound-resolvconf.conf 179.El 180.Sh SEE ALSO 181.Xr resolv.conf 5 182and 183.Xr resolvconf 8 . 184.Sh AUTHORS 185.An Roy Marples Aq roy@marples.name 186.Sh BUGS 187Please report them to http://roy.marples.name/projects/openresolv |