ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    WINs/DNS on Edge Router

    IT Discussion
    edge router
    5
    28
    6.8k
    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.
    • DashrenderD
      Dashrender
      last edited by

      WINS eh? I seriously doubt it.

      You have apps that are still relying on NetBIOS for something? Can't solve this with DNS?

      AdamFA 1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @AdamF
        last edited by

        @fuznutz04 said in WINs/DNS on Edge Router:

        Can the Edge Router function as a WINS server? I need to resolve IPs by hostname in a non domain environment. Can I either setup the edge router to function as a WINS server or add static entries in the edge router?

        Static DNS entries are simple.

        set system static-host-mapping host-name ad.bundystl.com inet 10.254.0.21
        set system static-host-mapping host-name bundydemo.bundystl.com inet 10.254.0.28
        
        1 Reply Last reply Reply Quote 2
        • AdamFA
          AdamF @Dashrender
          last edited by

          @Dashrender said in WINs/DNS on Edge Router:

          WINS eh? I seriously doubt it.

          You have apps that are still relying on NetBIOS for something? Can't solve this with DNS?

          It's a copier that is trying to access by computer name. I guess a simple solutions would just be to change the copier to use IPs instead.

          DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
          • DashrenderD
            Dashrender @AdamF
            last edited by

            @fuznutz04 said in WINs/DNS on Edge Router:

            @Dashrender said in WINs/DNS on Edge Router:

            WINS eh? I seriously doubt it.

            You have apps that are still relying on NetBIOS for something? Can't solve this with DNS?

            It's a copier that is trying to access by computer name. I guess a simple solutions would just be to change the copier to use IPs instead.

            Yeah, if you don't have a DNS server you control in-house, I'd go for using IPs in the MFP.

            But it looks like JB gave you a way to put static DNS type entries into the EL. Now the question is, assuming you're using the ER DNS source (can you even do that?) will the ER reply from things in it's own Hosts files?

            JaredBuschJ scottalanmillerS 3 Replies Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @Dashrender
              last edited by JaredBusch

              @Dashrender said in WINs/DNS on Edge Router:

              But it looks like JB gave you a way to put static DNS type entries into the EL. Now the question is, assuming you're using the ER DNS source (can you even do that?) will the ER reply from things in it's own Hosts files?

              Really? That response belongs in my I can't even thread...

              DashrenderD 1 Reply Last reply Reply Quote 1
              • DashrenderD
                Dashrender @JaredBusch
                last edited by

                @JaredBusch said in WINs/DNS on Edge Router:

                @Dashrender said in WINs/DNS on Edge Router:

                But it looks like JB gave you a way to put static DNS type entries into the EL. Now the question is, assuming you're using the ER DNS source (can you even do that?) will the ER reply from things in it's own Hosts files?

                Really? That response belongs in my I can't even thread...

                I've never used the DHCP in the ER devices - I have no idea if it points to itself for DNS or makes you setup a DNS server that it hands out to DHCP clients.

                If - IF it acts like oh so many home routers, then the other would be assumed as well.

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @Dashrender
                  last edited by

                  @Dashrender said in WINs/DNS on Edge Router:

                  @JaredBusch said in WINs/DNS on Edge Router:

                  @Dashrender said in WINs/DNS on Edge Router:

                  But it looks like JB gave you a way to put static DNS type entries into the EL. Now the question is, assuming you're using the ER DNS source (can you even do that?) will the ER reply from things in it's own Hosts files?

                  Really? That response belongs in my I can't even thread...

                  I've never used the DHCP in the ER devices - I have no idea if it points to itself for DNS or makes you setup a DNS server that it hands out to DHCP clients.

                  If - IF it acts like oh so many home routers, then the other would be assumed as well.

                  What does DHCP have to do with DNS? You are conflating again. He asked said that the clients point to the ERL for DNS. I gave the method to put in a static DNS entry in the ERL.

                  DashrenderD 1 Reply Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender @JaredBusch
                    last edited by

                    @JaredBusch said in WINs/DNS on Edge Router:

                    What does DHCP have to do with DNS? You are conflating again. He asked said that the clients point to the ERL for DNS. I gave the method to put in a static DNS entry in the ERL.

                    You inferred that his ER was being used for DNS, but didn't actually write that - hence my verbos explanation.

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @Dashrender
                      last edited by JaredBusch

                      @Dashrender said in WINs/DNS on Edge Router:

                      @JaredBusch said in WINs/DNS on Edge Router:

                      What does DHCP have to do with DNS? You are conflating again. He asked said that the clients point to the ERL for DNS. I gave the method to put in a static DNS entry in the ERL.

                      You inferred that his ER was being used for DNS, but didn't actually write that - hence my verbos explanation.

                      I inferred nothing.

                      @fuznutz04 said in WINs/DNS on Edge Router:

                      Can I either setup the edge router to function as a WINS server or add static entries in the edge router?

                      This clearly means that the EdgeRouter is being used for DNS. There is not other interpretation of that statement. Because if it was not, then static entries here would do nothing.

                      1 Reply Last reply Reply Quote 1
                      • DashrenderD
                        Dashrender
                        last edited by

                        Hey JB - Have a wonderful day 😄

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          @fuznutz04

                          TO be clear, this is how your DNS should be set up in your EdgeRouter.

                          configure
                          # proper EdgeOS DNS configuration assuming eth1 is your LAN
                          set service dns forwarding listen-on eth1
                          set service dns forwarding cache-size 150
                          set system name-server 127.0.0.1
                          # Change the forwarding DNS to whoever you prefer for DNS lookups. 
                          # The example here is Google DNS
                          set service dns forwarding name-server 8.8.8.8
                          set service dns forwarding name-server 8.8.4.4
                          # make sure your router has a domain name listed, even if your stuff is on a workgroup. 
                          # I like to use the full MS recommended format.
                          set system domain-name home.jaredbusch.com
                          commit
                          save
                          exit
                          

                          Now you can setup any static host mappings you want as I listed in the prior post.
                          Obviously change these appropriately.

                          set system static-host-mapping host-name ad.bundystl.com inet 10.254.0.21
                          set system static-host-mapping host-name bundydemo.bundystl.com inet 10.254.0.28
                          set system static-host-mapping host-name bundyhv01 inet 10.254.0.20
                          

                          If you have your firmware updated to version 1.9.0 then you can use DNSMasq also to get better lookup from DHCP assigned stuff, if your EdgeRouter is also the DHCP server.

                          configure
                          set service dhcp-server use-dnsmasq enable
                          commit
                          save
                          exit
                          
                          AdamFA 1 Reply Last reply Reply Quote 1
                          • scottalanmillerS
                            scottalanmiller @AdamF
                            last edited by

                            @fuznutz04 said in WINs/DNS on Edge Router:

                            Can the Edge Router function as a WINS server? I need to resolve IPs by hostname in a non domain environment. Can I either setup the edge router to function as a WINS server or add static entries in the edge router?

                            WINS? Why do you need WINS? I'd highly recommend fixing whatever dependency that is.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @AdamF
                              last edited by

                              @fuznutz04 said in WINs/DNS on Edge Router:

                              @Dashrender said in WINs/DNS on Edge Router:

                              WINS eh? I seriously doubt it.

                              You have apps that are still relying on NetBIOS for something? Can't solve this with DNS?

                              It's a copier that is trying to access by computer name. I guess a simple solutions would just be to change the copier to use IPs instead.

                              The copier is trying to use NetBIOS instead of DNS? Are you positive? That's so incredibly unlikely, I've never heard of that scenario before.

                              AdamFA 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Dashrender
                                last edited by

                                @Dashrender said in WINs/DNS on Edge Router:

                                @fuznutz04 said in WINs/DNS on Edge Router:

                                @Dashrender said in WINs/DNS on Edge Router:

                                WINS eh? I seriously doubt it.

                                You have apps that are still relying on NetBIOS for something? Can't solve this with DNS?

                                It's a copier that is trying to access by computer name. I guess a simple solutions would just be to change the copier to use IPs instead.

                                Yeah, if you don't have a DNS server you control in-house, I'd go for using IPs in the MFP.

                                But he does. The ERL if nothing else.

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Dashrender
                                  last edited by

                                  @Dashrender said in WINs/DNS on Edge Router:

                                  ...will the ER reply from things in it's own Hosts files?

                                  No, nothing uses the hosts file for serving out. But that's not where the entries go. That file isn't even exposed in the interfaces (GUI or CLI.)

                                  1 Reply Last reply Reply Quote 0
                                  • AdamFA
                                    AdamF @JaredBusch
                                    last edited by

                                    @JaredBusch said in WINs/DNS on Edge Router:

                                    @fuznutz04

                                    TO be clear, this is how your DNS should be set up in your EdgeRouter.

                                    configure
                                    # proper EdgeOS DNS configuration assuming eth1 is your LAN
                                    set service dns forwarding listen-on eth1
                                    set service dns forwarding cache-size 150
                                    set system name-server 127.0.0.1
                                    # Change the forwarding DNS to whoever you prefer for DNS lookups. 
                                    # The example here is Google DNS
                                    set service dns forwarding name-server 8.8.8.8
                                    set service dns forwarding name-server 8.8.4.4
                                    # make sure your router has a domain name listed, even if your stuff is on a workgroup. 
                                    # I like to use the full MS recommended format.
                                    set system domain-name home.jaredbusch.com
                                    commit
                                    save
                                    exit
                                    

                                    Now you can setup any static host mappings you want as I listed in the prior post.
                                    Obviously change these appropriately.

                                    set system static-host-mapping host-name ad.bundystl.com inet 10.254.0.21
                                    set system static-host-mapping host-name bundydemo.bundystl.com inet 10.254.0.28
                                    set system static-host-mapping host-name bundyhv01 inet 10.254.0.20
                                    

                                    If you have your firmware updated to version 1.9.0 then you can use DNSMasq also to get better lookup from DHCP assigned stuff, if your EdgeRouter is also the DHCP server.

                                    configure
                                    set service dhcp-server use-dnsmasq enable
                                    commit
                                    save
                                    exit
                                    

                                    Great guide and feedback, thanks. I left before I saw this second post, but I did setup the static entries like you mentioned in your previous post:

                                    set system static-host-mapping host-name ad.bundystl.com inet 10.254.0.21
                                    set system static-host-mapping host-name bundydemo.bundystl.com inet 10.254.0.28
                                    set system static-host-mapping host-name bundyhv01 inet 10.254.0.20
                                    

                                    Pinging names from being logged into the ERL, properly resolves now. However, pinging by name from clients was still failing. To get them working quickly, I changed the entries in the printer to just point to the IP addresses of the PCs (which as statically set by DHCP reservation.

                                    1 Reply Last reply Reply Quote 0
                                    • AdamFA
                                      AdamF @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in WINs/DNS on Edge Router:

                                      @fuznutz04 said in WINs/DNS on Edge Router:

                                      @Dashrender said in WINs/DNS on Edge Router:

                                      WINS eh? I seriously doubt it.

                                      You have apps that are still relying on NetBIOS for something? Can't solve this with DNS?

                                      It's a copier that is trying to access by computer name. I guess a simple solutions would just be to change the copier to use IPs instead.

                                      The copier is trying to use NetBIOS instead of DNS? Are you positive? That's so incredibly unlikely, I've never heard of that scenario before.

                                      The copier was set to use \computername\scan as a location to send files for the "scan to PC" function. It wasn't resolving properly after I installed the ERL.

                                      DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender @AdamF
                                        last edited by

                                        @fuznutz04 said in WINs/DNS on Edge Router:

                                        @scottalanmiller said in WINs/DNS on Edge Router:

                                        @fuznutz04 said in WINs/DNS on Edge Router:

                                        @Dashrender said in WINs/DNS on Edge Router:

                                        WINS eh? I seriously doubt it.

                                        You have apps that are still relying on NetBIOS for something? Can't solve this with DNS?

                                        It's a copier that is trying to access by computer name. I guess a simple solutions would just be to change the copier to use IPs instead.

                                        The copier is trying to use NetBIOS instead of DNS? Are you positive? That's so incredibly unlikely, I've never heard of that scenario before.

                                        The copier was set to use \computername\scan as a location to send files for the "scan to PC" function. It wasn't resolving properly after I installed the ERL.

                                        What was doing DNS resolution before the ERL? I'm guessing it was using broadcasting, though I don't know why the ERL would stop that part from working.

                                        AdamFA JaredBuschJ 2 Replies Last reply Reply Quote 0
                                        • AdamFA
                                          AdamF @Dashrender
                                          last edited by

                                          @Dashrender said in WINs/DNS on Edge Router:

                                          @fuznutz04 said in WINs/DNS on Edge Router:

                                          @scottalanmiller said in WINs/DNS on Edge Router:

                                          @fuznutz04 said in WINs/DNS on Edge Router:

                                          @Dashrender said in WINs/DNS on Edge Router:

                                          WINS eh? I seriously doubt it.

                                          You have apps that are still relying on NetBIOS for something? Can't solve this with DNS?

                                          It's a copier that is trying to access by computer name. I guess a simple solutions would just be to change the copier to use IPs instead.

                                          The copier is trying to use NetBIOS instead of DNS? Are you positive? That's so incredibly unlikely, I've never heard of that scenario before.

                                          The copier was set to use \computername\scan as a location to send files for the "scan to PC" function. It wasn't resolving properly after I installed the ERL.

                                          What was doing DNS resolution before the ERL? I'm guessing it was using broadcasting, though I don't know why the ERL would stop that part from working.

                                          The only thing in place prior to the ERL was the Comcast gateway device which was also handing out DHCP to the internal LAN.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @Dashrender
                                            last edited by

                                            @Dashrender said in WINs/DNS on Edge Router:

                                            @fuznutz04 said in WINs/DNS on Edge Router:

                                            @scottalanmiller said in WINs/DNS on Edge Router:

                                            @fuznutz04 said in WINs/DNS on Edge Router:

                                            @Dashrender said in WINs/DNS on Edge Router:

                                            WINS eh? I seriously doubt it.

                                            You have apps that are still relying on NetBIOS for something? Can't solve this with DNS?

                                            It's a copier that is trying to access by computer name. I guess a simple solutions would just be to change the copier to use IPs instead.

                                            The copier is trying to use NetBIOS instead of DNS? Are you positive? That's so incredibly unlikely, I've never heard of that scenario before.

                                            The copier was set to use \computername\scan as a location to send files for the "scan to PC" function. It wasn't resolving properly after I installed the ERL.

                                            What was doing DNS resolution before the ERL? I'm guessing it was using broadcasting, though I don't know why the ERL would stop that part from working.

                                            The ERL would stop that part from working quickly because prior to 1.9.0 and the use of dnsmasq, the ERL would often not know about DNS names for the things it assigned. Mostly it was a problem with static reservations I believe.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post