[Dnsmasq-discuss] addn-hosts vs host-record

Donald Muller donmuller22 at outlook.com
Thu Mar 8 20:01:12 GMT 2018



> -----Original Message-----
> From: Simon Kelley <simon at thekelleys.org.uk>
> Sent: Thursday, March 8, 2018 11:06 AM
> To: Donald Muller <donmuller22 at outlook.com>
> Subject: Re: [Dnsmasq-discuss] addn-hosts vs host-record
> 
> 
> 
> 
> > What is the difference between addn-hosts and host-record? Are the
> > same records created for both?
> >
> 
> Not necessarily. A name/address pair in a hosts file creates a A/AAAA record
> and a PTR record to do address->name mapping. Depending on the setting of
> --expand-hosts, it may do the same for a name composed of a simple name
> and the contents of the dnsmasdq --domain setting.
> 
> host-record just creates a simple A or AAAA record.
> 
> 
> Cheers,
> 
> Simon.

HI Simon,

According to the man pages a host-record also creates a PTR record.

>From the man page - Add A, AAAA and PTR records to the DNS.

Thanks
Don



More information about the Dnsmasq-discuss mailing list