Menu

Trying to configure DNS for hostnames without the trailing domain name required

2023-03-10
2024-07-08
  • Fiona Rickaline

    Fiona Rickaline - 2023-03-10

    Hi all,

    I have dualserver working perfectly for DHCP, however, my DNS configuration seems to only resolve names if I specify the hostname.domainname format and not just the bare hostname. Normally, I'd try to configure the domain-name DHCP option for this but it seems this was replaced with the [DOMAIN_NAME] section where I did configure my domain name. However, I cannot look up hosts without specifying the domain name suffix each time. What am I doing wrong here? TIA!

    example:
    C:>ping host_0
    Ping request could not find host host_0. Please check the name and try again.

    C:>ping host_0.test.com
    Pinging host_0.test.com [192.168.1.40] with 32 bytes of data:
    Reply from 192.168.1.40: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.40: bytes=32 time<1ms TTL=64

     
  • Fiona Rickaline

    Fiona Rickaline - 2023-03-10

    Never mind - I guess I just needed to not specify the domain name to begin with! I thought I had to add something there. Apparently not!

     
  • Henry Nichols

    Henry Nichols - 2023-04-26

    I'm encountering the same, could you tell me how you got around this issue? This is my .ini file:
    [DOMAIN_NAME]
    localdomain.com

    [DNS_HOSTS]
    rac1=192.168.1.161


    C:\WINDOWS\system32>nslookup rac1
    Server: Gaby-PC.localdomain.com
    Address: 192.168.1.9

    Non-authoritative answer:
    Name: rac1.localdomain.com
    Address: 192.168.1.161
    Aliases: rac1

    C:\WINDOWS\system32>ping rac1
    Ping request could not find host rac1. Please check the name and try again.

    C:\WINDOWS\system32>ping rac1.localdomain.com

    Pinging rac1.localdomain.com [192.168.1.161] with 32 bytes of data:
    Reply from 192.168.1.161: bytes=32 time<1ms TTL=64
    ...
    Ping statistics for 192.168.1.161:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

     
    • rkmwpb

      rkmwpb - 2024-06-04

      @Henry Nichols - I'm just seeing this now. It may be too late, but the fix in your case is to add the domain to search in the Windows IPv4 config (nothing to do with Dual Server).

       

Log in to post a comment.