The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Bind9 Forwarding Problem

    Discussion in 'Linux Compatibility and Software' started by millermagic, May 28, 2010.

  1. millermagic

    millermagic Rockin the pinktop

    Reputations:
    330
    Messages:
    1,742
    Likes Received:
    0
    Trophy Points:
    55
    I am setting up a bind9 server on the most recent release of Debian. I am using the "view" statements to have internal and external clients work differently.

    That, I can get working. The problem is with forwarding. Whenever I try to go to google.com it can't be found. Both the DNS server and my PC can ping the ISP's DNS servers and the firewall is allowing the DNS server to go through.

    After running Ngrep on the network interface on the DNS server I see that I get the following whenever a query outside is made

    U 172.16.4.95:63967 -> 172.16.2.5:53
    ............. www.notebookreview.com.mysite.com.....


    Obviously the error has the domain of where I work, but I am not posting that out in the public. so "mysite.com" is mybusiness.com or whatever

    Are there any suggestions on fixing this?

    Thanks in advance
    Miller88 is offline
     
  2. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    Hi,
    i understand you hestitate to post more about your network, but this is enough only to guess :).
    What is your dns server acting like? caching? primary, secondary dns ...?
    You got some kind of proxy (caching) running on same server - or on another? Netfilters firewall on same server or other? Some router (cisco, mikrotik ..) to setup primary access rules to restrict access to your network?
    See, It's a bit complicated.
    What the 'dig' command says ? ...
    What the netstat -r says ..?

    gl&hf
     
  3. millermagic

    millermagic Rockin the pinktop

    Reputations:
    330
    Messages:
    1,742
    Likes Received:
    0
    Trophy Points:
    55
    It is a primary nameserver. The dig command work on the server


    Turns out I forgot to uncomment the line where it allows recursion. Works now. I have been trying to figure this out all week. Come to find out it's two // keeping it from working!
     
  4. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    Whoah, tough! :))
    Good you got it solved and thx for sharing the problem solution :)