Re: [Dnsmasq-discuss] DHCP mangling IP address, host name
Hello, > I'm getting a confusing result with my DHCP server part. > dhcp-host=00:25:f6:03:2a:5d,iris,192.168.0.10/24 Probably hostname and ipaddr needs to be exchanged. See 'man dnsmasq' : --dhcp-host=[][,id:|*][,set:][,][,][,][,ignore] Regards Carsten pgp7exJQerJ7W.pgp Description: Digitale Signatur von OpenPGP ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] localise-queries and IPv6
Hello Simon, > > I've added entries for a multi homed machine to the hosts file. > > For IPv4 i get one address localized to the caller, > > for IPv6 i get a list of all addresses. > > > > The man page notes for localise-queries 'Currently this facility is limited > > to IPv4.' > > Is there any technical reason for this behaviour or is there just 'a bit > > work to be done'? > The technical reason is limited to "it's not obvious that this nasty > hack is useful for IPv6" If it could be demonstrated to be useful, > there's nothing to stop if being implemented for IPV6, as far as I know. Is a multi homed machine not a usefull scenario in IPv6? This would avoid unnecessary routing (as in IPv4). Regards, Carsten pgpfsPQx6SqEh.pgp Description: Digitale Signatur von OpenPGP ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] localise-queries and IPv6
Hello, I've added entries for a multi homed machine to the hosts file. For IPv4 i get one address localized to the caller, for IPv6 i get a list of all addresses. The man page notes for localise-queries 'Currently this facility is limited to IPv4.' Is there any technical reason for this behaviour or is there just 'a bit work to be done'? Thnks, Carsten pgphpsso6NMS9.pgp Description: Digitale Signatur von OpenPGP ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] [solved] define IPv6 prefix for host-records
Hello Simon, > You're trying to invent yet another way of solving the "naming IPv6 > hosts" problem, yes ;) > made more difficult by the fact that they change > addresses as the delegated prefix changes. > There are a couple of other possibilities. > > 1) If you're using DHCP for IPv4, look at the dnsmasq "ra-names" > facility, which can make creating DNS entries for RA-allocated > addresses automatic. i'll have a look, but: > 2) Consider giving your hosts ULA addresses as well as addresses with > the prefix you get from you ISP. If you just want a DNS name that's > usable from the local net, then that gives you a stable address to > associate with the DNS name. That's _the_ good idea (why i didn't have it myself)! It's like the NATed private IPv4 addresses i use locally. The delegated prefix is only for outside connections. That's it, thanks, Carsten -- Carsten Spieß Lauterlech 39d D-86152 Augsburg Tel.: +49(821)51 78 65 mailto://fl...@carsten-spiess.de pgpYa9f0YxHbM.pgp Description: Digitale Signatur von OpenPGP ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] define IPv6 prefix for host-records
Hello Simon, > How do your machines get their IPv6 addresses, and specifically, their > changed IPv6 addresses after the prefix changes.? With RA/SLAAC, i have a dibbler client running receiving the prefix via DHCPv6 and distributing it via RA. Can dnsmasq be configured to run as DHCPv6 client too? > If you're using DHCPv6 with dnsmasq as the server, At the moment not, i'm using dnsmasq vor DHCPv4 and DNS I have no DHCPv6 server running (neither dnsmasq or dibbler or something else) > then something like this is already available: if you have a dhcp-range line > which > has the constructor: keyword, then you can have IPv6 addresses in > dhcp-host lines which have zero network part, and the relevant prefix > will be substituted in. I've seen this which pointed me to the proposed syntax. Regards Carsten -- Carsten Spieß Lauterlech 39d D-86152 Augsburg Tel.: +49(821)51 78 65 mailto://fl...@carsten-spiess.de pgpHdQMQTqnJs.pgp Description: Digitale Signatur von OpenPGP ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] define IPv6 prefix for host-records
Hello , i'm using dnsmasq to deliver IPv6 DNS entries. The IPv6 prefix i get dynamicaly from my ISP after dialin (pppoe), but this changes on every reconnect (which is at least once a day). When the prefix changes every IPv6 host in /etc/hosts dnsmasq.conf files has to be changed to cause dnsmasq to deliver the IPv6 address containing the new prefix. (I didn't find a posibility to configure dnsmasq to do this automatically) I would like to suggest to add an "constructor:" option to --host-record like: --host-record=[,],[],[][,constructor:][,] Where [] contains only the host-/local-network part and [constructor:] will add the prefix from e.g. --host-record=myhost,10.1.2.3,::0123:4567:89ab:cdef,constructor:eth1 for adding the /64 prefix of eth1 Regards Carsten pgpyqUwxzxzcl.pgp Description: Digitale Signatur von OpenPGP ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss