Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Bind9 appending to any outside DNS queries

    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 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 ->
      .............]w w w .o v e r c l o c k . n e t . m y s i t e . c o m .....
    Obviously the error has the domain of where I work, but I am not posting that out in the public. so "" is or whatever

    Are there any suggestions on fixing this?

    Thanks in advance

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    Do you want to lookup site directly or relay them through your ISP?

    If you want to look them up directly do you have your root hints files setup?

    If you are going to relay them do you have the forwards setup?


    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Torres Vedras, PT
    I imagine you have something like

    $ cat /etc/resolv.conf
    nameserver <bind_server_IP>

    From man resolve.conf, search option I read:
    "Resolver queries having fewer than ndots (default is 1) in them will be attempted using each component of the search path in turn until a match is found. For environments with multiple subdomains please read options ndots:n below to avoid man-in-the-middle attacks and unnecessary traffic for the root-dns-servers"

    Changed ndots option? Don't really think that could be it, but...

    Maybe check your db.0 file. Maybe a ending "." somewhere could produce that strange behavior?

    What about your named logs?

    Searched for such a bug on your bind9 version?


  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts