DNS server configuration (Need help)



  • im a pfsense newbie  ….Im using pfsense as my gateway...We are using few local servers inside our campus and those server are havin some names like axalpha.ir , btalpha.ir ,.... I simply want to configure a local DNS server in my pfsense gateway  such that my client machines should able to resolve those names "internally"  ..

    I installed tinydns and i dont know what to do with that .....and i don't know the difference between tiny dns and dns forwarder which is inbuilted with pfsense......i dont find any articles in internet for this setup....Right now im using untangle for my local DNS resolution which is pretty easy but due to my project changes i have to do the internal DNS in pfsense...can some one help me with the rough steps please..... :-\



  • On my home network I get the service you describe from the DNS forwarder. From the web GUI: Services -> DNS Forwarder, enable it and then click in the"+" box near the bottom of the page to add entries.

    tiny DNS is incompatible with DNS forwarder; choose one or the other.



  • I have two sections at the bottom and i dont understand the description mentioned that.

    "You may enter records that override the results from the forwarders below."

    and

    "Below you can override an entire domain by specifying an authoritative dns server to be queried for that domain."

    on these two sections where should i enter my records ( local domain names and  local ips)

    Thanks

    -Arun



  • @arunkeerthan:

    "You may enter records that override the results from the forwarders below."

    Here you can enter a fully qualified host name (for example printer.mycompany.com) and its IP address. This IP address will be returned by the forwarder for that name rather than something returned from the external name servers. I've seen reports that something people use this this to block those pesky ads so many web pages display.

    @arunkeerthan:

    "Below you can override an entire domain by specifying an authoritative dns server to be queried for that domain."

    Here you specify the IP address of an DN server to provide name service for a particular name. For example, for names in domain acme.com ask the server at IP address 123.201.102.201 rather than the "standard" name servers.



  • Please see the attached image .ive did as you said…after this i configured my pfsense's ipaddress as DNS server in my XP client machine and tried to access lap.aruntest.ir    it is not resolving....

    http://i54.tinypic.com/w8x6pg.jpg



  • Sometimes it is necessary to reboot to get the system to take notice of changed settings.



  • ???    its not working even after reboot…..FYI...
    It has WAN interface configured with static ip ...DO you want anyother information...?



  • I'd like more details on how you came to the conclusion "its not working". For example, complete the statement I did … on ... system and I saw the response ... but I expected (or wanted) to see ...

    Please post the output of the command ipconfig /all given to a command prompt windows on the Windows XP system.

    After you added the entry you should have seen the prompt The DNS forwarder configuration has been changed.
    You must apply the changes in order for them to take effect.

    Did you then click the Apply changes button to the right of this prompt? (If you didn't then the DNS forwarder won't have noticed you changed it configuration.) If you aren't sure then add a "dummy" entry and make sure you apply the changes and then retest.



  • Sorry for the delay…I was out of the project for few days.

    I configured the following information in my xp networking settings
    ip :            10.10.50.140
    SNM:        255.0.0.0
    Gateway : 10.10.10.151

    Primary DNS : 10.10.10.151

    when im try to ping lap.aruntest.ir  from my xp system  it says host unreachable...

    Please help.



  • @arunkeerthan:

    Sorry for the delay…I was out of the project for few days.

    More like a few weeks? :-)

    @arunkeerthan:

    I configured the following information in my xp networking settings
    ip :            10.10.50.140
    SNM:         255.0.0.0
    Gateway : 10.10.10.151

    Primary DNS : 10.10.10.151

    when im try to ping lap.aruntest.ir   from my xp system  it says host unreachable…

    Please help.

    Assuming the configuration you have described earlier is still current: you have added a DNS entry for host aruntest in domain lap.aruntest.ir (fully qualified domain name: aruntest.lap.aruntest.ir)

    Perhaps your DNS forwarder entry should be host=lap domain=aruntest.ir (to match your ping command). Perhaps your ping command should have been ping aruntest.lap.aruntest.ir (to match your DNS forwarder entry).

    Edit - to correct formatting tags.



  • System/Advanced Uncheck "Disable NAT Reflection"…    ??



  • Thanks wallabybob ….I got to know this before reading your reply  ::) ....When i did nslookup for the ip from my xp system i came to know that aruntest.lap.aruntest.ir    is my FQDN.....Thanks for the help ......I hope atleast this thread will be helpful for someone who is struggling with DNS forwarder same as me.

    Thanks

    -Arun



  • you must type in the full domain name, not just host. example:
    host: server1
    domain: jackson.com

    to access this host it would be:
    server1.jackson.com



  • @XIII:

    you must type in the full domain name, not just host. example:
    host: server1
    domain: jackson.com

    to access this host it would be:
    server1.jackson.com

    Hi,

    what should I have to do, that it is possible for me to ping the host without enter the FQDN ?



  • use its IP or setup a DNS server like BIND or tinyDNS , or use a DNS service that lets you make queries against it such as OpenDNS and create a shortcut.


Log in to reply