-----Original Message-----
Sent: Thursday, March 8, 2018 11:06 AM
Subject: Re: [Dnsmasq-discuss] addn-hosts vs host-record
Post by Donald MullerWhat 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