Ubuntu box with static IP, how to get it to register with pfSense DNS?
-
Since this box is not getting an IP from the DHCP server configured in pfSense, I assume that the responsibility of registering itself lies on the DNS client itself since I have a statically assigned IP. What's the easiest way to do this?
I was assuming this was the /etc/network/interfaces file, but I'm not sure if I'm looking in the right place.
-
@Rob-Dunn Would this be what you are after? I know it is an old post so the location in pfSense may have changed, but that should get you there.
https://forum.pfsense.org/index.php?topic=31327.msg162321#msg162321
-
Yeah! I was in that page (DNS Forwarder setup)...applied those options (they weren't checked)...then I noticed that even though I have a static IP set, DHCP was still allocating an IP to the interface!
I set a static IP reservation on pfSense, and now nslookup is working, but ping isn't, but I'm thinking this is a firewall issue at this point.
Thanks for the link!
Learning... -
Ah, also...
I've not had to adjust this setting in a long time...
Added DNS suffix to my network adapter and to append that suffix to DNS lookups. Now I can ping via short and FQDN (I'm using workgroup at home).
-
I used pfSense for about 3 years. I would still be using it if I had not gotten the Ubiquiti EdgeMax LITE router for the house to match what I am doing with clients.
-
I've found that with Linux boxes, in my environment at least, which is dd-wrt router and DHCP and DNS handled by a Windows Server 2008 R2 Enterprise server, is to use DHCP with reservations. It pulls the suffix, DNS IPs, etc all automatically that way. Create a reservation. Done!
-
@thanksaj
Yeah, all my experience has been with Windows DHCP, and you're right, configuring the DNS suffix and other options are easy as pie. On the pfSense/Linux side it's a bit...different...!
-
@Rob-Dunn said:
@thanksaj
Yeah, all my experience has been with Windows DHCP, and you're right, configuring the DNS suffix and other options are easy as pie. On the pfSense/Linux side it's a bit...different...!
I don't have much experience with pfsense. I've played with it a little but never actually set it up and used it. YMMV