[Dnsmasq-discuss] Feature Request(s)

Rob Zwissler rob at zwissler.org
Thu Mar 15 22:22:48 GMT 2012


On Thu, Mar 15, 2012 at 1:35 PM, Simon Kelley <simon at thekelleys.org.uk>wrote:

>
> All the other DNS record-creation options (txt-record, ptr-record,
> naptr-record, srv-host, mx-host) take the name as first argument,
> followed by target(s), so it would be good to follow that, however
> something more flexible is possible, by allowing an arbitrary number of
>  names followed by an IPv4 address, an IPv6 address, or both
>
>
> --host-record = thekelleys.org, www.thekelleys.org, 1.2.3.4, 1234::11
>
> As usual, the first name gets the PTR record, so 'dig -x 1.2.3.4'
> returns thekelleys.org in my example.
>
> Next question, should "expand-hosts" work on the names as it does in
> /etc/hosts, but doesn't in txt-record and friends?
>

Consistency is always nice, so the choice is between consistent behavior
across hosts & dnsmasq.conf style configs, or consistent behavior within
dnsmasq.conf, I'd vote for the latter, so expand-hosts would be ignored for
host-record.

If it does expand it it for host-record but not txt-record, etc, that seems
somewhat un-intuitive.

Perhaps a second expand-host-record to separately enable that?  Or a more
general expand-records (?) directive that would work for host-record,
txt-record, etc...

The bind behavior with default expansion and a . to override seems nice,
simple & intuitive, what about a expand-bind-style directive to turn that
behavior on, so as not to break existing syntax, but give that fine grained
control to people who want it?

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20120315/41417f5c/attachment.html>


More information about the Dnsmasq-discuss mailing list