[Dnsmasq-discuss] multiple host names?

richardvoigt at gmail.com richardvoigt at gmail.com
Fri Oct 3 18:06:14 BST 2008


On Fri, Sep 19, 2008 at 5:14 PM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> AJ Weber wrote:
>>
>> Can we make it a low-priority FR?  Would seem straight DNS can effectively
>> do it, as can an /etc/hosts file.  Some kind of "alias" feature for hosts?
>
> Sure can, it's not a straightforward as you might think to define the
> semantics: what happens if one host is abe, bert and carl, then another jost
> comes along an claims to be abe, does the first one get to keep bert and
> carl. Which name is used for reverse lookups?

I'd imagine that bert and carl continue to be CNAME records returning
abe, that is, they stick to the name, not the host.  As aliases, they
should not be returned for reverse lookups (unless in the future a
configuration option is created for manual control over PTR records).

>
> Making a second class "alias" name might be the simplest.
>
> Cheers,
>
> Simon.
>
>>  -AJ
>>
>>    ----- Original Message -----
>>    *From:* Simon Kelley <mailto:simon at thekelleys.org.uk>
>>    *To:* AJ Weber <mailto:aweber at comcast.net>
>>    *Cc:* dnsmasq-discuss at thekelleys.org.uk
>>    <mailto:dnsmasq-discuss at thekelleys.org.uk>
>>    *Sent:* Thursday, September 18, 2008 9:17 AM
>>    *Subject:* Re: [Dnsmasq-discuss] multiple host names?
>>
>>    AJ Weber wrote:
>>     > I should have been more specific.  Is there a way to do it in
>>     > conjunction with a dhcp-host line?  I do NOT, in fact, give the host
>>     > I'm referring to a consistent address.
>>     >
>>    No, there isn't. The closest you can get is to give the host a fixed IP
>>    address, associate the fixed address with the MAC using a dhcp-host
>> line
>>    and then associate many names with the IP address in /etc/hosts.
>>
>>
>>    Cheers,
>>
>>    Simon.
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



More information about the Dnsmasq-discuss mailing list