WINs/DNS on Edge Router
-
@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.
-
@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.)
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.
-
WINS? Most likely you just need to setup the DNS Search Names/Space but in a workgroup any computer can become the master browser
-
@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.
While that is NetBIOS notation, it's also what Windows uses when going to DNS. So that doesn't itself give you any reason to suspect NetBIOS. Check DNS first.
-
@scottalanmiller 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.
While that is NetBIOS notation, it's also what Windows uses when going to DNS. So that doesn't itself give you any reason to suspect NetBIOS. Check DNS first.
or you can try \\computername.domain.tld\ but, when using just the hosts you need either DNS search setup to append the domain name (likely if you add a domain name to the TCP/IP settings in the copier it will do this) or you need a computer acting as the WINs master browser but that's depreciated.
-
I will still need to put in static entries, even though I enable this ?
set service dhcp-server use-dnsmasq enable
-
@fuznutz04 said in WINs/DNS on Edge Router:
I will still need to put in static entries, even though I enable this ?
set service dhcp-server use-dnsmasq enable
If they are in the DHCP of the router, you should not.
Everything may need rebooted though
-
Excellent. So then the only entries needed would be any device that has a static IP address.
EdgeOS is getting better all the time.
-
@fuznutz04 said in WINs/DNS on Edge Router:
Excellent. So then the only entries needed would be any device that has a static IP address.
Yes.
EdgeOS is getting better all the time.
Yes.