Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
logiciel:internet:dnsmasq:dnsmasq.conf [2020/11/05 10:03] – [Options] admin | logiciel:internet:dnsmasq:dnsmasq.conf [2020/11/06 10:35] – [Options] admin | ||
---|---|---|---|
Ligne 86: | Ligne 86: | ||
? no-dhcp-interface= | ? no-dhcp-interface= | ||
: If you want dnsmasq to provide only DNS service on an interface, configure it as shown above, and then use the following line to disable DHCP and TFTP on it. | : If you want dnsmasq to provide only DNS service on an interface, configure it as shown above, and then use the following line to disable DHCP and TFTP on it. | ||
- | | ||
? bind-interfaces | ? bind-interfaces | ||
: On systems which support it, dnsmasq binds the wildcard address, even when it is listening on only some interfaces. It then discards requests that it shouldn' | : On systems which support it, dnsmasq binds the wildcard address, even when it is listening on only some interfaces. It then discards requests that it shouldn' | ||
Ligne 95: | Ligne 94: | ||
? expand-hosts | ? expand-hosts | ||
: Set this (and domain: see below) if you want to have a domain automatically added to simple names in a hosts-file. | : Set this (and domain: see below) if you want to have a domain automatically added to simple names in a hosts-file. | ||
- | ? domain=thekelleys.org.uk | + | |
- | : Set the domain for dnsmasq. this is optional, but if it is set, it does the following things. | + | : |
- | : 1) Allows DHCP hosts to have fully qualified domain names, as long as the domain part matches this setting. | + | |
- | : 2) Sets the " | + | : Set the domain for dnsmasq. this is optional, but if it is set, it does the following things. |
- | : 3) Provides the domain part for " | + | : 1) Allows DHCP hosts to have fully qualified domain names, as long as the domain part matches this setting. |
- | ? domain=wireless.thekelleys.org.uk, | + | : 2) Sets the " |
- | : Set a different domain for a particular subnet | + | : 3) Provides the domain part for " |
- | ? domain=reserved.thekelleys.org.uk, | + | ? domain=wireless.thekelleys.org.uk, |
- | : Same idea, but range rather then subnet | + | : Set a different domain for a particular subnet |
+ | ? domain=reserved.thekelleys.org.uk, | ||
+ | : Same idea, but range rather then subnet | ||
? dhcp-range | ? dhcp-range | ||
: | : | ||
Ligne 136: | Ligne 137: | ||
? dhcp-host | ? dhcp-host | ||
: Supply parameters for specified hosts using DHCP. There are lots of valid alternatives, | : Supply parameters for specified hosts using DHCP. There are lots of valid alternatives, | ||
- | + | ? dhcp-host=11: | |
- | # Always allocate the host with Ethernet address 11: | + | : |
- | # The IP address 192.168.0.60 | + | ? |
- | #dhcp-host=11: | + | : |
- | + | ? | |
- | # Always set the name of the host with hardware address | + | : |
- | # 11: | + | ? |
- | #dhcp-host=11: | + | : |
- | + | ? | |
- | # Always give the host with Ethernet address 11: | + | : |
- | # the name fred and IP address 192.168.0.60 and lease time 45 minutes | + | ? |
- | #dhcp-host=11: | + | : |
- | + | ? | |
- | # Give a host with Ethernet address 11: | + | : |
- | # 12: | + | ? |
- | # that these two Ethernet interfaces will never be in use at the same | + | : |
- | # time, and give the IP address to the second, even if it is already | + | ? |
- | # in use by the first. Useful for laptops with wired and wireless | + | |
- | # addresses. | + | ? |
- | #dhcp-host=11: | + | : |
- | + | ? | |
- | # Give the machine which says its name is " | + | : |
- | # 192.168.0.70 and an infinite lease | + | ? |
- | #dhcp-host=bert,192.168.0.70,infinite | + | : |
- | + | ? | |
- | # Always give the host with client identifier 01:02:02:04 | + | : |
- | # the IP address 192.168.0.60 | + | ? |
- | #dhcp-host=id: | + | : |
- | + | : | |
- | # Always give the InfiniBand interface with hardware address | + | : |
- | # 80: | + | ? |
- | # ip address 192.168.0.61. The client id is derived from the prefix | + | |
- | # ff: | + | : |
- | # hex digits of the hardware address. | + | ? |
- | #dhcp-host=id: | + | : |
- | + | ? | |
- | # Always give the host with client identifier " | + | : |
- | # the IP address 192.168.0.60 | + | ? |
- | #dhcp-host=id:marjorie, | + | : |
- | + | ? read-ethers | |
- | # Enable the address given for " | + | |
- | # to be given to a machine presenting the name " | + | ? dhcp-option |
- | # it asks for a DHCP lease. | + | : |
- | #dhcp-host=judge | + | : |
- | + | : | |
- | # Never offer DHCP service to a machine whose Ethernet | + | : |
- | # address is 11: | + | : |
- | #dhcp-host=11: | + | ? dhcp-option=3, |
- | + | : | |
- | # Ignore any client-id presented by the machine with Ethernet | + | ? |
- | # address 11: | + | : |
- | # being treated differently when running under different OS's or | + | ? |
- | # between PXE boot and OS boot. | + | : |
- | #dhcp-host=11: | + | ? |
- | + | : | |
- | # Send extra options which are tagged as " | + | ? |
- | # the machine with Ethernet address 11: | + | : |
- | #dhcp-host=11: | + | ? |
- | + | : | |
- | # Send extra options which are tagged as " | + | ? |
- | # any machine with Ethernet address starting 11:22:33: | + | |
- | #dhcp-host=11:22:33:*:*:*,set:red | + | ? |
- | + | : | |
- | # Give a fixed IPv6 address and name to client with | + | ? |
- | # DUID 00: | + | : |
- | # Note the MAC addresses CANNOT be used to identify DHCPv6 clients. | + | ? |
- | # Note also that the [] around the IPv6 address are obligatory. | + | : |
- | #dhcp-host=id:00:01: | + | ? |
- | + | : | |
- | # Ignore any clients which are not specified in dhcp-host lines | + | ? |
- | # or / | + | : |
- | # This relies on the special " | + | ? |
- | # a host is matched. | + | : |
- | #dhcp-ignore=tag:!known | + | ? |
- | + | ? dhcp-option=129, | |
- | # Send extra options which are tagged as " | + | : |
- | # DHCP vendorclass string includes the substring " | + | ? |
- | #dhcp-vendorclass=set:red,Linux | + | : |
- | + | : | |
- | # Send extra options which are tagged as " | + | ? |
- | # of whose DHCP userclass strings includes the substring " | + | : set up dnsmasq in the same way as is specified for the ISC dhcpcd in http:// |
- | #dhcp-userclass=set:red,accounts | + | ? |
- | + | : option ip-forwarding off | |
- | # Send extra options which are tagged as " | + | ? |
- | # MAC address matches the pattern. | + | : set netbios-over-TCP/ |
- | #dhcp-mac=set:red, | + | ? |
- | + | : netbios datagram distribution server | |
- | # If this line is uncommented, | + | ? |
- | # on the ethernet-address/ | + | : netbios node type |
- | # been given as --dhcp-host options. Useful if you keep | + | ? dhcp-option=252," |
- | # MAC-address/ | + | : |
- | #read-ethers | + | ? |
- | + | : | |
- | # Send options to hosts which ask for a DHCP lease. | + | ? |
- | # See RFC 2132 for details of available options. | + | : Send RFC-3442 classless static routes (note the netmask encoding) |
- | # Common options can be given to dnsmasq by name: | + | ? dhcp-option=vendor: |
- | # run " | + | : Send vendor-class specific options encapsulated in DHCP option 43. |
- | # Note that all the common settings, such as netmask and | + | : |
- | # broadcast address, DNS server and default route, are given | + | ? |
- | # sane defaults by dnsmasq. You very likely will not need | + | : |
- | # any dhcp-options. If you use Windows clients and Samba, there | + | ? |
- | # are some options which are recommended, | + | : |
- | # end of this section. | + | ? |
- | + | | |
- | # Override the default route supplied by dnsmasq, which assumes the | + | ? dhcp-option-force=208, |
- | # router is the same machine as the one running dnsmasq. | + | : |
- | #dhcp-option=3,1.2.3.4 | + | ? |
- | + | | |
- | # Do the same thing, but using the option name | + | ? |
- | #dhcp-option=option: | + | : |
- | + | ? | |
- | # Override the default route supplied by dnsmasq and send no default | + | : |
- | # route at all. Note that this only works for the options sent by | + | ? |
- | # default (1, 3, 6, 12, 28) the same line will send a zero-length option | + | : |
- | # for all other option numbers. | + | ? dhcp-boot=pxelinux.0 |
- | #dhcp-option=3 | + | : |
- | + | ? | |
- | # Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5 | + | : |
- | #dhcp-option=option:ntp-server,192.168.0.4,10.10.0.5 | + | ? |
- | + | : The idea is to send two different filenames, the first loads iPXE, and the second tells iPXE what to load. The dhcp-match sets the ipxe tag for requests from iPXE. | |
- | # Send DHCPv6 option. Note [] around IPv6 addresses. | + | ? |
- | #dhcp-option=option6: | + | : |
- | + | ? dhcp-match=set: | |
- | # Send DHCPv6 option for namservers as the machine running | + | : |
- | # dnsmasq and another. | + | ? dhcp-boot=tag: |
- | #dhcp-option=option6: | + | : |
- | + | ? | |
- | # Ask client to poll for option changes every six hours. (RFC4242) | + | : All the options are encapsulated within option 175 |
- | #dhcp-option=option6:information-refresh-time,6h | + | ? |
- | + | : priority code | |
- | # Set option 58 client renewal time (T1). Defaults to half of the | + | ? |
- | # lease time if not specified. (RFC2132) | + | : no-proxydhcp |
- | #dhcp-option=option: | + | ? |
- | + | : bus-id | |
- | # Set option 59 rebinding time (T2). Defaults to 7/8 of the | + | ? |
- | # lease time if not specified. (RFC2132) | + | : BIOS drive code |
- | #dhcp-option=option:T2,2m | + | ? |
- | + | : iSCSI username | |
- | # Set the NTP time server address to be the same machine as | + | ? |
- | # is running dnsmasq | + | : iSCSI password |
- | #dhcp-option=42,0.0.0.0 | + | ? dhcp-match |
- | + | : | |
- | # Set the NIS domain name to " | + | : PXE clients are supposed to send their architecture as option 93. (See RFC 4578) |
- | #dhcp-option=40,welly | + | ? |
- | + | ? | |
- | # Set the default time-to-live to 50 | + | ? |
- | #dhcp-option=23,50 | + | ? |
- | + | ? pxe-prompt | |
- | # Set the "all subnets are local" flag | + | : |
- | #dhcp-option=27,1 | + | ? pxe-prompt=" |
- | + | : Do real PXE, rather than just booting a single file, this is an alternative to dhcp-boot. | |
- | # Send the etherboot magic flag and then etherboot options (a string). | + | ? |
- | #dhcp-option=128,e4:45: | + | : |
- | #dhcp-option=129,NIC=eepro100 | + | ? |
- | + | : | |
- | # Specify an option which will only be sent to the " | + | ? pxe-service=x86PC, |
- | # (see dhcp-range for the declaration of the " | + | : |
- | # Note that the tag: part must precede the option: part. | + | ? |
- | # | + | : |
- | + | ? | |
- | # The following DHCP options set up dnsmasq in the same way as is specified | + | : |
- | # for the ISC dhcpcd in | + | : |
- | # http:// | + | ? |
- | # adapted for a typical dnsmasq installation where the host running | + | : |
- | # dnsmasq is also the host running samba. | + | ? |
- | # you may want to uncomment some or all of them if you use | + | : |
- | # Windows clients and Samba. | + | ? multicast-FTP |
- | #dhcp-option=19, | + | : |
- | #dhcp-option=44, | + | ? enable-tftp |
- | #dhcp-option=45, | + | : |
- | #dhcp-option=46, | + | ? |
- | + | : | |
- | # Send an empty WPAD option. This may be REQUIRED to get windows 7 to behave. | + | ? |
- | #dhcp-option=252," | + | : |
- | + | ? | |
- | # Send RFC-3397 DNS domain search DHCP option. WARNING: Your DHCP client | + | : |
- | # probably doesn' | + | ? |
- | # | + | : |
- | + | ? dhcp-boot | |
- | # Send RFC-3442 classless static routes (note the netmask encoding) | + | : |
- | #dhcp-option=121, | + | ? dhcp-boot=tag: |
- | + | : Set the boot file name only when the " | |
- | # Send vendor-class specific options encapsulated in DHCP option 43. | + | ? |
- | # The meaning of the options is defined by the vendor-class so | + | : |
- | # options are sent only when the client supplied vendor class | + | : |
- | # matches the class given here. (A substring match is OK, so " | + | ? |
- | # matches " | + | : |
- | # mtftp address to 0.0.0.0 for PXEClients. | + | ? |
- | #dhcp-option=vendor: | + | : |
- | + | ? dhcp-lease-max=150 | |
- | # Send microsoft-specific option to tell windows to release the DHCP lease | + | : |
- | # when it shuts down. Note the " | + | ? |
- | # value as a four-byte integer - that's what microsoft wants. See | + | : |
- | # http:// | + | : |
- | #dhcp-option=vendor: | + | ? |
- | + | : | |
- | # Send the Encapsulated-vendor-class ID needed by some configurations of | + | ? |
- | # Etherboot to allow is to recognise the DHCP server. | + | : |
- | #dhcp-option=vendor:Etherboot, | + | : |
- | + | ? | |
- | # Send options to PXELinux. Note that we need to send the options even | + | : |
- | # though they don't appear in the parameter request list, so we need | + | : |
- | # to use dhcp-option-force here. | + | ? cache-size=150 |
- | # See http:// | + | : |
- | # Magic number - needed before anything else is recognised | + | ? no-negcache |
- | #dhcp-option-force=208,f1:00:74:7e | + | : |
- | # Configuration file name | + | ? local-ttl= |
- | #dhcp-option-force=209,configs/common | + | |
- | # Path prefix | + | ? bogus-nxdomain=64.94.110.11 |
- | #dhcp-option-force=210,/ | + | : If you want dnsmasq to detect attempts by Verisign to send queries to unregistered .com and .net hosts to its sitefinder service and have dnsmasq instead return the correct NXDOMAIN response, uncomment this line. You can add similar lines to do the same for other registries which have implemented wildcard A records. |
- | # Reboot time. (Note ' | + | ? alias |
- | #dhcp-option-force=211,30i | + | : If you want to fix up DNS results from upstream servers, use the alias option. This only works for IPv4. |
- | + | ? alias=1.2.3.4, | |
- | # Set the boot filename for netboot/ | + | : |
- | # this if you want to boot machines over the network and you will need | + | ? alias=1.2.3.0,5.6.7.0, |
- | # a TFTP server; either dnsmasq' | + | : and this maps 1.2.3.x to 5.6.7.x |
- | # external one. (See below for how to enable the TFTP server.) | + | ? alias=192.168.0.10-192.168.0.40,10.0.0.0, |
- | #dhcp-boot=pxelinux.0 | + | : and this maps 192.168.0.10-> |
- | + | ? MX records | |
- | # The same as above, but use custom tftp-server instead machine running dnsmasq | + | : Change these lines if you want dnsmasq to serve MX records. |
- | # | + | ? mx-host=maildomain.com, |
- | + | : Return an MX record named " | |
- | # Boot for iPXE. The idea is to send two different | + | ? mx-target=servermachine.com |
- | # filenames, the first loads iPXE, and the second tells iPXE what to | + | : Set the default target for MX records created using the localmx option. |
- | # load. The dhcp-match sets the ipxe tag for requests from iPXE. | + | ? localmx |
- | #dhcp-boot=undionly.kpxe | + | : Return an MX record pointing to the mx-target for all local machines. |
- | #dhcp-match=set: | + | ? selfmx |
- | #dhcp-boot=tag: | + | : Return an MX record pointing to itself for all local machines. |
- | + | ? srv-host | |
- | # Encapsulated options for iPXE. All the options are | + | : Change the following lines if you want dnsmasq to serve SRV records. These are useful if you want to serve ldap requests for Active Directory and other windows-originated DNS requests. |
- | # encapsulated within option 175 | + | : See RFC 2782. |
- | #dhcp-option=encap: | + | : You may add multiple srv-host lines. |
- | #dhcp-option=encap: | + | : The fields are < |
- | #dhcp-option=encap: | + | : If the domain part if missing from the name (so that is just has the service and protocol sections) then the domain given by the domain= config option is used. (Note that expand-hosts does not need to be set for this to work.) |
- | #dhcp-option=encap: | + | ? srv-host=_ldap._tcp.example.com, |
- | #dhcp-option=encap: | + | : A SRV record sending LDAP for the example.com domain to ldapserver.example.com port 389 |
- | #dhcp-option=encap: | + | ? domain=example.com\\ |
- | + | : A SRV record sending LDAP for the example.com domain to ldapserver.example.com port 389 (using domain=) | |
- | # Test for the architecture of a netboot client. PXE clients are | + | ? srv-host=_ldap._tcp.example.com, |
- | # supposed to send their architecture as option 93. (See RFC 4578) | + | : Two SRV records for LDAP, each with different priorities |
- | #dhcp-match=peecees, | + | ? |
- | #dhcp-match=itanics, | + | : A SRV record indicating that there is no LDAP server for the domain example.com |
- | #dhcp-match=hammers, | + | |
- | #dhcp-match=mactels, | + | |
- | + | ||
- | # Do real PXE, rather than just booting a single file, this is an | + | |
- | # alternative to dhcp-boot. | + | |
- | #pxe-prompt=" | + | |
- | # or with timeout before first available action is taken: | + | |
- | #pxe-prompt="Press F8 for menu.", 60 | + | |
- | + | ||
- | # Available boot services. for PXE. | + | |
- | #pxe-service=x86PC, | + | |
- | + | ||
- | # Loads < | + | |
- | #pxe-service=x86PC, | + | |
- | + | ||
- | # Loads < | + | |
- | # Beware this fails on old PXE ROMS. | + | |
- | #pxe-service=x86PC, | + | |
- | + | ||
- | # Use bootserver on network, found my multicast or broadcast. | + | |
- | #pxe-service=x86PC, | + | |
- | + | ||
- | # Use bootserver at a known IP address. | + | |
- | #pxe-service=x86PC, | + | |
- | + | ||
- | # If you have multicast-FTP available, | + | |
- | # information for that can be passed in a similar way using options 1 | + | |
- | # to 5. See page 19 of | + | |
- | # http:// | + | |
- | + | ||
- | + | ||
- | # Enable dnsmasq' | + | |
- | #enable-tftp | + | |
- | + | ||
- | # Set the root directory for files available via FTP. | + | |
- | #tftp-root=/ | + | |
- | + | ||
- | # Do not abort if the tftp-root is unavailable | + | |
- | #tftp-no-fail | + | |
- | + | ||
- | # Make the TFTP server more secure: with this set, only files owned by | + | |
- | # the user dnsmasq is running as will be send over the net. | + | |
- | #tftp-secure | + | |
- | + | ||
- | # This option stops dnsmasq from negotiating a larger blocksize for TFTP | + | |
- | # transfers. It will slow things down, but may rescue some broken TFTP | + | |
- | # clients. | + | |
- | #tftp-no-blocksize | + | |
- | + | ||
- | # Set the boot file name only when the " | + | |
- | #dhcp-boot=tag:red,pxelinux.red-net | + | |
- | + | ||
- | # An example of dhcp-boot with an external TFTP server: the name and IP | + | |
- | # address of the server are given after the filename. | + | |
- | # Can fail with old PXE ROMS. Overridden by --pxe-service. | + | |
- | #dhcp-boot=/ | + | |
- | + | ||
- | # If there are multiple external tftp servers having a same name | + | |
- | # (using /etc/hosts) then that name can be specified as the | + | |
- | # tftp_servername (the third option to dhcp-boot) and in that | + | |
- | # case dnsmasq resolves this name and returns the resultant IP | + | |
- | # addresses in round robin fashion. This facility can be used to | + | |
- | # load balance the tftp load among a set of servers. | + | |
- | #dhcp-boot=/ | + | |
- | + | ||
- | # Set the limit on DHCP leases, the default is 150 | + | |
- | #dhcp-lease-max=150 | + | |
- | + | ||
- | # The DHCP server needs somewhere on disk to keep its lease database. | + | |
- | # This defaults to a sane location, but if you want to change it, use | + | |
- | # the line below. | + | |
- | #dhcp-leasefile=/ | + | |
- | + | ||
- | # Set the DHCP server to authoritative mode. In this mode it will barge in | + | |
- | # and take over the lease for any client which broadcasts on the network, | + | |
- | # whether it has a record of the lease or not. This avoids long timeouts | + | |
- | # when a machine wakes up on a new network. DO NOT enable this if there' | + | |
- | # the slightest chance that you might end up accidentally configuring a DHCP | + | |
- | # server for your campus/ | + | |
- | # the same option, and this URL provides more information: | + | |
- | # http:// | + | |
- | #dhcp-authoritative | + | |
- | + | ||
- | # Set the DHCP server to enable DHCPv4 Rapid Commit Option per RFC 4039. | + | |
- | # In this mode it will respond to a DHCPDISCOVER message including a Rapid Commit | + | |
- | # option with a DHCPACK including a Rapid Commit option and fully committed address | + | |
- | # and configuration information. This must only be enabled if either the server is | + | |
- | # the only server for the subnet, or multiple servers are present and they each | + | |
- | # commit a binding for all clients. | + | |
- | #dhcp-rapid-commit | + | |
- | + | ||
- | # Run an executable when a DHCP lease is created or destroyed. | + | |
- | # The arguments sent to the script are " | + | |
- | # then the MAC address, the IP address and finally the hostname | + | |
- | # if there is one. | + | |
- | #dhcp-script=/bin/echo | + | |
- | + | ||
- | # Set the cachesize here. | + | |
- | #cache-size=150 | + | |
- | + | ||
- | # If you want to disable negative caching, uncomment this. | + | |
- | #no-negcache | + | |
- | + | ||
- | # Normally responses which come from /etc/hosts and the DHCP lease | + | |
- | # file have Time-To-Live set as zero, which conventionally means | + | |
- | # do not cache further. If you are happy to trade lower load on the | + | |
- | # server for potentially stale date, you can set a time-to-live (in | + | |
- | # seconds) here. | + | |
- | #local-ttl= | + | |
- | + | ||
- | # If you want dnsmasq to detect attempts by Verisign to send queries | + | |
- | # to unregistered .com and .net hosts to its sitefinder service and | + | |
- | # have dnsmasq instead return the correct NXDOMAIN response, uncomment | + | |
- | # this line. You can add similar lines to do the same for other | + | |
- | # registries which have implemented wildcard A records. | + | |
- | # | + | |
- | + | ||
- | # If you want to fix up DNS results from upstream servers, use the | + | |
- | # alias option. This only works for IPv4. | + | |
- | # This alias makes a result of 1.2.3.4 appear as 5.6.7.8 | + | |
- | #alias=1.2.3.4,5.6.7.8 | + | |
- | # and this maps 1.2.3.x to 5.6.7.x | + | |
- | #alias=1.2.3.0,5.6.7.0, | + | |
- | # and this maps 192.168.0.10-> | + | |
- | # | + | |
- | + | ||
- | # Change these lines if you want dnsmasq to serve MX records. | + | |
- | + | ||
- | # Return an MX record named " | + | |
- | # servermachine.com and preference 50 | + | |
- | #mx-host=maildomain.com, | + | |
- | + | ||
- | # Set the default target for MX records created using the localmx option. | + | |
- | # | + | |
- | + | ||
- | # Return an MX record pointing to the mx-target for all local | + | |
- | # machines. | + | |
- | #localmx | + | |
- | + | ||
- | # Return an MX record pointing to itself for all local machines. | + | |
- | #selfmx | + | |
- | + | ||
- | # Change the following lines if you want dnsmasq to serve SRV | + | |
- | # records. | + | |
- | # Active Directory and other windows-originated DNS requests. | + | |
- | # See RFC 2782. | + | |
- | # You may add multiple srv-host lines. | + | |
- | # The fields are < | + | |
- | # If the domain part if missing from the name (so that is just has the | + | |
- | # service and protocol sections) then the domain given by the domain= | + | |
- | # config option is used. (Note that expand-hosts does not need to be | + | |
- | # set for this to work.) | + | |
- | + | ||
- | # A SRV record sending LDAP for the example.com domain to | + | |
- | # ldapserver.example.com port 389 | + | |
- | #srv-host=_ldap._tcp.example.com, | + | |
- | + | ||
- | # A SRV record sending LDAP for the example.com domain to | + | |
- | # ldapserver.example.com port 389 (using domain=) | + | |
- | # | + | |
- | #srv-host=_ldap._tcp, | + | |
- | + | ||
- | # Two SRV records for LDAP, each with different priorities | + | |
- | #srv-host=_ldap._tcp.example.com, | + | |
- | #srv-host=_ldap._tcp.example.com, | + | |
- | + | ||
- | # A SRV record indicating that there is no LDAP server for the domain | + | |
- | # example.com | + | |
- | # | + | |
# The following line shows how to make dnsmasq serve an arbitrary PTR | # The following line shows how to make dnsmasq serve an arbitrary PTR |