Forward Domain

2012-01-15 Thread Markus Braun
Hello together, i have a problem to forward a domain e.g. hallo.de to my own ip. i the etc/named.conf i have the following lines: zone "hallo.de" {type forward;forwarders { IP; };}; i restart bind, but nothing works :( Thank you for your help. marcus___

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

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: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
> 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 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 @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 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
> 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: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
> 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 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

9.9 query log change

2012-01-15 Thread Chris Thompson
Looking at some query log output from BIND 9.9.0rc1, e.g. 15-Jan-2012 18:24:45.358 client 131.111.11.47#58644 (www.playground.test): ^ query: www.playground.test IN A +E (131.111.9.112) the indicated parenthesized item is new

Re: 9.9 query log change

2012-01-15 Thread Evan Hunt
> Looking at some query log output from BIND 9.9.0rc1, e.g. > > 15-Jan-2012 18:24:45.358 client 131.111.11.47#58644 (www.playground.test): >^ > query: www.playground.test IN A +E (131.111.9.112) > > the indicated parenthesize

Re: 9.9 query log change

2012-01-15 Thread David Forrest
On Sun, 15 Jan 2012, Evan Hunt wrote: Looking at some query log output from BIND 9.9.0rc1, e.g. 15-Jan-2012 18:24:45.358 client 131.111.11.47#58644 (www.playground.test): ^ query: www.playground.test IN A +E (131.111.9.112)

allow-query for a zone

2012-01-15 Thread Jeff Peng
Hi, If I just want to disable any client to query for a zone, but keep that zone in the config file (maybe later I will enable it to be accessable), can I just set: allow-query { none; }; in the zone section? zone "example.com" { type master; file "example.com.db"; allow-query { none;