[Dnsmasq-discuss] Adding A records

Simon Kelley simon at thekelleys.org.uk
Sat Apr 28 11:33:14 BST 2007


shacky wrote:
> Hi.
> With dnsmasq 2.38-1 how I can add some "A" records to the local domain 
> specified with the "server" configuration in dnsmasq.conf?
> 

instead of

server=/somedomain/1.2.3.4

do

address=/somedomain/1.2.3.4

which will return A records to 1.2.3.4 for anything in the given domain. 
(It works for AAAA records, too, if you have IPv6 support available.)

Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list