1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Configuring TomatoUSB to work with Active Directory

Discussion in 'Networking Issues' started by Ice Drake, Mar 11, 2018.

  1. Ice Drake

    Ice Drake New Member Member

    I am trying to figure out the correct configuration for my router and server. I want my router running TomatoUSB to handle DHCP requests while both router and server cooperatively handle DNS requests. The current problem I think I am having is that I can't figure out how to configure my router properly.

    Currently, I have the router ( assigned devices dynamic IP addresses with the range from to via DHCP. For certain devices, it will statically assigned IP address based on its hostname ( to In doing so, I allowed me to keep the network configuration setting on those devices to "automatically obtain IP address and DNS server address" from my router. My router, of course, will assign those devices with a static-like IP address since their hostname is unique and consistent. I did this for my server as well. So my server IP address always remains the same, which is, since its hostname is consistent. The problem comes when I tried to join a computer to the Active Directory. It complains about DNS setting configuration, which both the server and the router are hosting.

    After studying the problem for a bit, it seems that I can configure my router to setup all devices to forward all DNS requests to the server as its primary DNS server and have the router as its secondary DNS server. The issue is that I can't figure how to even do that on my router.
    Last edited: Mar 11, 2018
  2. Sean B.

    Sean B. LI Guru Member

    Put this in the custom configuration box under Advanced->DHCP/dns in the routers GUI:

    This is assuming the network you are speaking of is on the br0 bridge. X would be primary server, Y would be secondary server. This sets the DNS servers dnsmasq gives the clients during the DHCP exchange.

    And in regards to setting specific IP addresses to hostnames using DHCP, the term you're looking for is "DHCP reservation" rather than static IP.
  3. Ice Drake

    Ice Drake New Member Member

    That was exactly what I needed. I have been trying to make sense out of reading man page of dnsmasq, but I can't make any sense out of it. Thank you so much.
    Sean B. likes this.

Share This Page