Re: dnsmasq+named together (was: Re: Forward Domain)

2012-01-19 Thread WBrown
rob0 wrote on 01/19/2012 04:05:26 PM: > ... > server=127.0.0.1#1053 > # to use "nameserver 127.0.0.1" in resolv.conf(5) > no-resolv > ... > listen-on port 1053 { 127.0.0.1; }; Are both of these listening on port 1053? That ain't gonna work. Put one of them back on 53 or on some other

dnsmasq+named together (was: Re: Forward Domain)

2012-01-19 Thread /dev/rob0
On Sun, Jan 15, 2012 at 04:41:15PM +, Markus Braun wrote: > i googled the last daysi cant run DNSMASQ and BIND9 both on > the same port or? Obviously not, but I have set them both up on the same machine: dnsmasq(8) as DHCP and authoritative DNS server, named(8) as the upstream caching re

Re: Forward Domain

2012-01-15 Thread Chuck Swiger
On Jan 15, 2012, at 8:41 AM, Markus Braun wrote: > > DNSMASQ is basically a DNS forwarder but it has a bunch of other > > features. Check the Wikipedia page on it and if you have questions > > please ask on their mailing list or forum. > > > > Regarding BIND, if you have issues with your server re

RE: Forward Domain

2012-01-15 Thread Markus Braun
> DNSMASQ is basically a DNS forwarder but it has a bunch of other > features. Check the Wikipedia page on it and if you have questions > please ask on their mailing list or forum. > > Regarding BIND, if you have issues with your server returning some > results within your server and other res

Re: Forward Domain

2012-01-15 Thread Jorge Fábregas
On 01/15/2012 11:57 AM, Markus Braun wrote: > but what is the different between the DNSMASQ and bind9, that DNSMASQ run > correct and bind9 not? > I have the problem when halo.de is requestet that he only forward when i try > to access over my extern mobile device and when it is on the server th

RE: Forward Domain

2012-01-15 Thread Markus Braun
> No, you don't need your ISP's nameservers. It should work for other > domains (if configured properly). It's just that, for your particular > domain, it will ask the provided server for the info. For other > domains, your bind server will perform full dns resolution (starting > from the DNS

Re: Forward Domain

2012-01-15 Thread Jorge Fábregas
On 01/15/2012 11:06 AM, Markus Braun wrote: > it shows my ip , but i think i must have the both nameserver from > my ISP in the resolv.conf because i have other domains? and > everything is now forwarded :(( No, you don't need your ISP's nameservers. It should work for other domains (if configu

RE: Forward Domain

2012-01-15 Thread Markus Braun
> dig @localhost hallo.de it shows my ip , but i think i must have the both nameserver from my ISP in the resolv.conf because i have other domains? and everything is now forwarded :(( he should only forward only this domain from extern. I tried it with DNSMASQ and the line was this: # Add domai

Re: Forward Domain

2012-01-15 Thread Jorge Fábregas
On 01/15/2012 10:20 AM, Markus Braun wrote: > in my resolv.conf are only the 2 nameserver of my ISP, nothing more. > what must i change here? but i also like that my other domains are working :) > marcus ok, one more test : Try: dig @localhost hallo.de If that works you now know that your loca

RE: Forward Domain

2012-01-15 Thread Markus Braun
> dig @IP-OF-YOUR-DNS-SERVER hallo.de > > If that works, then you can proceed with the forward zone stanza on your > local bind. After that, you need to make sure your /etc/resolv.conf > points to your local bind instance (and not your ISP's dns). Hi Jorge, i think it looks good: ; <<>> DiG

Re: Forward Domain

2012-01-15 Thread Jorge Fábregas
On 01/15/2012 09:54 AM, Markus Braun wrote: > And when i put the my IP in my DNS setting from my handy, the handy should > send > the request to my server for this domain. e.g. google.de and give onother output. > I hope you understand what i mean :) Before using your local bind caching nameserve

RE: Forward Domain

2012-01-15 Thread Markus Braun
> Can you be more specific? Do you get any error when restarting? > Anything on syslog? What are you using to perform the tests? dig? Can > you show us the output? Does resolution for other domains work? or is > it the one for your domain that doesn't work? If you remove the forzard > zone, d

Re: Forward Domain

2012-01-15 Thread Jorge Fábregas
On 01/15/2012 09:27 AM, Markus Braun wrote: > i restart bind, but nothing works :( Hi, Can you be more specific? Do you get any error when restarting? Anything on syslog? What are you using to perform the tests? dig? Can you show us the output? Does resolution for other domains work? or is it