[Semibug] dhcpd dns entry

Mark Moellering markmoellering at psyberation.com
Fri Oct 4 18:44:29 EDT 2019


Awesome, thanks

On 10/4/19 6:41 PM, Josh Grosse wrote:
> On Fri, Oct 04, 2019 at 06:38:34PM -0400, Josh Grosse wrote:
>> On Fri, Oct 04, 2019 at 06:29:50PM -0400, Mark Moellering wrote:
>>> everyone,
>>>
>>> I am running openbsd on a Ubiquity Networks EdgeRouter-4 as a firewall,
>>> which is also running dhcpd.
>>>
>>> If I have my mail server running on a local address, 192.168.1.102, for
>>> example, is there a way to set things up so that any computer inside the
>>> firewall will have the mail server [mail.psyberation.com] resolve to the
>>> internal IP address?
>>>
>> Sure, Mark.
>>
>> You add a local, "non-authorative" DNS server, for local resolution.  There's
>> a built-in one, unbound(8).  With it, you can direct your local systems
>> to resolve to the internal address.
> I should add, the local unbound(8) server can also act as a local caching
> server for remote resolution from "authoritive" nameservers that resolve
> address for the Internet, such as from Google or OpenDNS nameservers.



More information about the Semibug mailing list