Feature #2717
DNS forward
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | ~FUTURE | |||
Resolution: | REJECTED | NEEDINFO: | No |
Description
This feature will permit to define DNS zones (domain names) served by different resolvers (dns).
As an example, figure a company having a DNS server resolving internal network names (mycompany.local) at ip address 192.168.1.1.
The DNS forwared entry will list mycompany.local with DNS equal to 192.168.1.1.
Technically, dnsmasq will forward requests for myhost.mycompany.local to 192.168.1.1 instead of the configured internet dns server.
Another usage scenario:
http://www.whitneytechnologies.com/?p=276
The web gui could also offer the omnipresent Description field.
Related issues
History
#1 Updated by Filippo Carletti over 6 years ago
- Related to Enhancement #3054: Reverse dns fails if an internal DNS is configured added
#2 Updated by Filippo Carletti over 6 years ago
From man dnsmasq: -S, --local, --server=[/[<domain>]/[domain/]][<ipaddr>[#<port>][@<source-ip>|<interface>[#<port>]]
Specify IP address of upstream servers directly. Setting this flag does not suppress reading of /etc/resolv.conf, use -R to do that. If one or more optional domains are given, that server is used only for those domains and they are queried only using the specified server. This is intended for private nameservers: if you have a nameserver on your network which deals with names of the form xxx.internal.thekelleys.org.uk at 192.168.1.1 then giving the flag -S /internal.thekelleys.org.uk/192.168.1.1 will send all queries for internal machines to that nameserver, everything else will go to the servers in /etc/resolv.conf. An empty domain specification, // has the special meaning of "unqualified names only" ie names without any dots in them. A non-standard port may be specified as part of the IP address using a # character. More than one -S flag is allowed, with repeated domain or ipaddr parts as required.
#3 Updated by Filippo Carletti almost 6 years ago
I'm doing something related to this feature request on my mail server. I'm directing queries for nethesis.it to our internal dns and all other queries to a local resolver.
Also, reverse queries are sent to the internal dns.
Here's the custom template:
server=/nethesis.it/192.168.5.253 server=/5.168.192.in-addr.arpa/192.168.5.253 server=127.0.0.1#10053
I think we could build the reverse for class a/b/c networks automatically if the dns ip is in the same network of nethserver.
#4 Updated by Giacomo Sanchietti almost 5 years ago
- Status changed from NEW to CLOSED
- % Done changed from 0 to 100
- Resolution set to REJECTED
This feature will not be implemented in NS 6. If needed, please reopen it for NS 7.