[Dnsmasq-discuss] dnsmasq/dhcpd6 coexistance
I am running some tests. My testing needs to involve using both radvd/dnsmasq and radvd/named/dhcpd/dhpd6 to provide ip6 routing, dhcp, dhcp6, and name services for networks running both ip4 and ip6 on the same network. So far, I had been separating the two in time: first, radvd,dnsmasq and the later, radvd/named/dhcpd/dhcpd6. Then it occurred to me that I might be able to run them at the same time ... naturally, serving different networks and interfaces but on the same system. OK, named and dnsmasq can co-exist. That is, run at the same time and repond to the network they are servicing. And dhcpd and dnsmasq can co-exist. netstat -tunal shows that 0.0.0.0:67 and 0.0.0.0:68 are being listened to. But dchpd6 and dnsmasq cannot. When either is started, netstat -tunal shows that :::546 and :::547 are being listened to similar to 67/68 but neither one can tolerate being stated after to other one has started. In dnsmasq.conf I am using the listen-address= for both ip4 and ip6. Comments? Gene ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Problem with PXE menu entries number
> There's a limit on the number of bytes in the data-structure which > describes the menu. If you've hit that limit, dnsmasq should log the > problem. (PXE menu too large). You can use shorter descriptions to > try and fit everything in. I didn't see any error about PXE in dnsmasq logs, but shorting things down worked, thank you very much. -- Lorenzo Milesi - lorenzo.mil...@yetopen.it GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Problem with PXE menu entries number
On 10/10/12 15:09, Lorenzo Milesi wrote: > Hi. > I've set up dnsmasq with pxe as follows: > dhcp-boot=pxelinux.0 > enable-tftp > tftp-root=/var/tftpboot/ > pxe-prompt="Ricordarsi di usare il proxy http://10.22.22.190:3142 " > pxe-service=x86PC,"Ubuntu 12.04 LTS > amd64",/var/tftpboot/netboot-ubuntu12.04-amd64/pxelinux > pxe-service=x86PC,"Ubuntu 12.04 LTS > i386",/var/tftpboot/netboot-ubuntu12.04-i386/pxelinux > pxe-service=x86PC,"Ubuntu 12.10 > amd64",/var/tftpboot/netboot-ubuntu12.10-amd64/pxelinux > pxe-service=x86PC,"Ubuntu 10.04 LTS > amd64",/var/tftpboot/netboot-ubuntu10.04-amd64/pxelinux > pxe-service=x86PC,"Ubuntu 10.04 LTS > i386",/var/tftpboot/netboot-ubuntu10.04-i386/pxelinux > > The problem is that if I add a sixth rule then the following tftp download > will fail. > Screenshot here: https://dl.dropbox.com/u/706934/failpxe.png > > Is there any limitation on the number of entries can be declared into config? > I didn't find any statement on the matter... > > I'm using dnsmasq 2.52 on Ubuntu 10.04. > > thanks > There's a limit on the number of bytes in the data-structure which describes the menu. If you've hit that limit, dnsmasq should log the problem. (PXE menu too large). You can use shorter descriptions to try and fit everything in. Cheers, Simon. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Different dns config based on network address
On Wed, Oct 10, 2012 at 10:01:51AM -0300, Cyro Wicks wrote: > I have a firewall and dns server for my entire network, and what > i would like to do is to have dnsmasq to read /etc/hosts_net1 > or /etc/hosts_net2 based on the network address coming from > net1 or net2. > > I am trying to implement an internet filtering based on dnsmasq, > but i would like to have net1 users and net2 users with different > dns block rules defined on /etc/hosts_net1 and /etc/hosts_net2 > files! > > Is it possible with dnsmasq? Not the way you are describing it, but the exact functionality you want is implemented. See "-y, --localise-queries" in the man page. You can use alternate hosts files if desired for some reason, but there's no need; queries would be answered with the address local to the querying client. Well, to be precise, you did not say exactly what kind of data you want to provide the net1/net2 clients, so this might not be what you're wanting. I just guessed that you wanted to provide addresses local to net1 or net2. If you are wanting to provide random data, I am not sure if dnsmasq can do that. You might need BIND named(8)'s "view" feature. A dnsmasq-based solution in that case might be to run multiple instances. See "-i, --interface" and "-I, --except-interface" and "-z, --bind-interfaces". -- http://rob0.nodns4.us/ -- system administration and consulting Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] Problem with PXE menu entries number
Hi. I've set up dnsmasq with pxe as follows: dhcp-boot=pxelinux.0 enable-tftp tftp-root=/var/tftpboot/ pxe-prompt="Ricordarsi di usare il proxy http://10.22.22.190:3142 " pxe-service=x86PC,"Ubuntu 12.04 LTS amd64",/var/tftpboot/netboot-ubuntu12.04-amd64/pxelinux pxe-service=x86PC,"Ubuntu 12.04 LTS i386",/var/tftpboot/netboot-ubuntu12.04-i386/pxelinux pxe-service=x86PC,"Ubuntu 12.10 amd64",/var/tftpboot/netboot-ubuntu12.10-amd64/pxelinux pxe-service=x86PC,"Ubuntu 10.04 LTS amd64",/var/tftpboot/netboot-ubuntu10.04-amd64/pxelinux pxe-service=x86PC,"Ubuntu 10.04 LTS i386",/var/tftpboot/netboot-ubuntu10.04-i386/pxelinux The problem is that if I add a sixth rule then the following tftp download will fail. Screenshot here: https://dl.dropbox.com/u/706934/failpxe.png Is there any limitation on the number of entries can be declared into config? I didn't find any statement on the matter... I'm using dnsmasq 2.52 on Ubuntu 10.04. thanks -- Lorenzo Milesi - lorenzo.mil...@yetopen.it GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Different dns config based on network address
Ok, thanks for the help! I will try! Cyro Em 10/10/2012 10:45, "Jay Imerman" escreveu: > Cyro, I think what you want to use is tags. If you read thru the conf > file there are numerous references to them. > > > > - Jay > Sent from my iPhone > > On Oct 10, 2012, at 9:04, Cyro Wicks wrote: > > > Hello all, > > > > I have a firewall and dns server for my entire network, and what i would > like to do is to have dnsmasq to read /etc/hosts_net1 or /etc/hosts_net2 > based on the network address coming from net1 or net2. > > > > I am trying to implement an internet filtering based on dnsmasq, but i > would like to have net1 users and net2 users with different dns block rules > defined on /etc/hosts_net1 and /etc/hosts_net2 files! > > > > Is it possible with dnsmasq? > > > > Thank you very much for any help. > > > > Cyro > > ___ > > Dnsmasq-discuss mailing list > > Dnsmasq-discuss@lists.thekelleys.org.uk > > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Different dns config based on network address
Cyro, I think what you want to use is tags. If you read thru the conf file there are numerous references to them. - Jay Sent from my iPhone On Oct 10, 2012, at 9:04, Cyro Wicks wrote: > Hello all, > > I have a firewall and dns server for my entire network, and what i would like > to do is to have dnsmasq to read /etc/hosts_net1 or /etc/hosts_net2 based on > the network address coming from net1 or net2. > > I am trying to implement an internet filtering based on dnsmasq, but i would > like to have net1 users and net2 users with different dns block rules defined > on /etc/hosts_net1 and /etc/hosts_net2 files! > > Is it possible with dnsmasq? > > Thank you very much for any help. > > Cyro > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] Different dns config based on network address
Hello all, I have a firewall and dns server for my entire network, and what i would like to do is to have dnsmasq to read /etc/hosts_net1 or /etc/hosts_net2 based on the network address coming from net1 or net2. I am trying to implement an internet filtering based on dnsmasq, but i would like to have net1 users and net2 users with different dns block rules defined on /etc/hosts_net1 and /etc/hosts_net2 files! Is it possible with dnsmasq? Thank you very much for any help. Cyro ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] How to add local configuration to Network Manager initiated dnsmasq in Ubuntu 12.04
Did a search on VirtualBox command line - something like VirtualBoxManage -startvm "machine name" - Jay Sent from my iPhone On Oct 10, 2012, at 4:31, Chris Green wrote: > On Tue, Oct 09, 2012 at 05:14:11PM -0400, Jay Imerman wrote: >> I think I read your reply as you want a dhcp and name server for your >> LAN, right? That is what I have set up right now. A 12.04 desktop VM >> running in VirtualBox, the NIC is bridged to the host adapter. It >> works great but I had to fiddle a bit to get the dnsmasq I downloaded >> with apt-get to run. > That's exactly what I was wondering about, thanks for confirming that it > works, I may well try it out. How do you get the VirtualBox machine to > run at startup? > > -- > Chris Green > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] How to add local configuration to Network Manager initiated dnsmasq in Ubuntu 12.04
On Tue, Oct 09, 2012 at 05:14:11PM -0400, Jay Imerman wrote: > I think I read your reply as you want a dhcp and name server for your > LAN, right? That is what I have set up right now. A 12.04 desktop VM > running in VirtualBox, the NIC is bridged to the host adapter. It > works great but I had to fiddle a bit to get the dnsmasq I downloaded > with apt-get to run. > That's exactly what I was wondering about, thanks for confirming that it works, I may well try it out. How do you get the VirtualBox machine to run at startup? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss