Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    DNS Forwarder wt Windows 2000/2003 domains - Solution

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 4.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shawkes
      last edited by

      The DNS Forwarder is too strict in what it determines is a valid domain name, when using Windows 2000/2003 domains one must forward a set of zones onto the Windows Domain controller in order for the client computers to login (and other domain related tasks)  A simple solution would be to relax the rules by adding an underscore "_" to the regular expression in the function "is_domain" located in the file "/etc/inc/util.inc"

      List of required zones for proper Microsoft Domain usage:

      _udp. <domain>_tcp. <domain>_sites. <domain>_msdcs. <domain>forestdnszones. <domain>domaindnszones. <domain>Example (Red = New Code):
      /* returns true if $domain is a valid domain name */
      function is_domain($domain) {
      if (!is_string($domain))
      return false;

      if (preg_match("/^([[color=Red]**_**a-z0-9-]+.?)*$/i", $domain))
      return true;
      else
      return false;
      }

      See:
      http://support.microsoft.com/kb/255913/?sd=RMVP&fr=1</domain></domain></domain></domain></domain></domain>

      1 Reply Last reply
      Reply Quote 0
      • S
        sullrich
        last edited by

        Done, thanks!

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy