On 08/03/18 20:01, Donald Muller wrote:
>
>
>> -Original Message-
>> From: Simon Kelley <si...@thekelleys.org.uk>
>> Sent: Thursday, March 8, 2018 11:06 AM
>> To: Donald Muller <donmulle...@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/ 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 record.
>>
>>
>> Cheers,
>>
>> Simon.
>
> HI Simon,
>
> According to the man pages a host-record also creates a PTR record.
>
>>From the man page - Add A, and PTR records to the DNS.
>
Ah, indeed. Apologies for winging it. The man page tells the truth, and
also mentions the expand-hosts issue. That's the answer you're looking for.
Cheers,
Simon.
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss