[Semibug] dhcpd dns entry

Anthony Cascianelli acascianelli at icloud.com
Fri Oct 4 20:12:21 EDT 2019


Isn’t that way NAT reflection is for?

Anthony Cascianelli

> On Oct 4, 2019, at 6:44 PM, Mark Moellering <markmoellering at psyberation.com> wrote:
> 
> 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.
> 
> _______________________________________________
> Semibug mailing list
> Semibug at lists.nycbug.org
> http://lists.nycbug.org:8080/mailman/listinfo/semibug



More information about the Semibug mailing list