On Wed, Apr 13, 2011 at 10:25:55PM +0530, Mohit Chawla wrote: > On Wed, Apr 13, 2011 at 9:25 PM, /dev/rob0 <r...@gmx.co.uk> wrote: > > > The hosts(5) file format is far simpler than a DNS zone file or a > > dnsmasq(8) config file. "IP.add.re.ss name [alias ...]". dnsmasq > > assumes that the presence of a hosts listing for IP.add.re.ss > > means that you want a PTR for "ss.re.add.IP.in-addr.arpa." to > > have that name. You can't put any specific DNS records in there; > > it's the job of dnsmasq to translate hosts into DNS. > > Cool, thanks ! Then I guess the --ptr-record option is for the > dnsmasq config file instead.
Right. I like using a dnsmasq.d directory for things like that, where records for a specific purpose are in their own modular file: conf-dir=/etc/dnsmasq.d -- Offlist mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header