Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Problem in host override in DNS resolver

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 581 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.
    • G
      gulzoa712
      last edited by

      Hello,
      I am using DNS resolver to resolve some internal LAN ip's to specific ip's as required. How can i resolve hostname without .com in the parent domain of host field. Screen shot is attached below. Is it necessary for the parent domain of host field to have .com in it? Please help me out.

      In the given example whenever i try to ping kam-b from my kama machine it fails to ping. Both the ip's 15.212 and 15.213 have pf sense as its Gateway and DNS.

      db06ce56-2528-4159-930c-dfc7a5151159-image.png

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @gulzoa712
        last edited by johnpoz

        @gulzoa712 said in Problem in host override in DNS resolver:

        without .com in the parent domain

        there is nothing saying you have to use .com - but you should be using an actually fully qualified domain name. kama is just a tld.. k.master is something.

        If you want your clients to resolve via a hostname, then set them up to use search suffix. If you have no other domain you want to use locally then you should be using the now standard domain for use locally home.arpa

        So to resolve kama.home.arpa via just kama your search suffix for your clients would be home.arpa now if you ask for just kama your client would actually ask for the fqdn and it would resolve.

        I use local.lan locally, so if client just pings nas - notice it comes back fully qualified.

        fqdn.jpg

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        G 1 Reply Last reply Reply Quote 1
        • G
          gulzoa712 @johnpoz
          last edited by

          @johnpoz

          is this what you saying and referring to man. Do i need to change anything else? because now if i still try to ping from 15.213 to 15.212 it doesn't ping. and also ping kmaster returns nothing.

          cbd4137b-95e9-4108-a276-e70cedbd1b11-image.png

          0425c528-d39d-4d43-905a-23ede7e51565-image.png

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @gulzoa712
            last edited by johnpoz

            @gulzoa712 no they wouldn't answer ping.. they are not valid fqdn..

            Your kmaster.home.arpa would resolve - but not going to resolve with just kmaster unless your search suffix on your client is actually set to home.arpa

            searchsuffix.jpg

            is 15.213 and .212 actually DNS? Why are you pointing pfsense to those for dns? Are you even forwarding - unless your forwarding there is almost no reason to set dns in general. Out of the box pfsense resolves, it does not need you to set any dns unless your going to forward to them.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.