View Single Post
  #3   (View Single Post)  
Old 18th December 2021
juhal juhal is offline
Real Name: Justin DeWitt Hall
New User
 
Join Date: Dec 2021
Location: Portland Oregon
Posts: 8
Default

Thank you! Ok so I was right, I am doing something obviously wrong. Make sure the documentation one is using is applicable to the version one is using, duh! Yes I am running openBSD 7.0 and I should have made that clear in my original post.
Unfortunately I am still stuck. I tried your suggestion of appending my desired DNS servers to the top of /etc/resolv.conf but the file immediately gets overwritten and they are removed. OK, I gather trying to edit /etc/resolv.conf is not going to be the way this is fixed. Next I enabled unwind by running...

rcctl enable unwind

After restarting the network service this changed my /etc/resolv.conf to this...

nameserver 127.0.0.1 # resolvd: unwind
#nameserver 75.75.75.75 # resolvd: em0
#nameserver 75.75.76.76 # resolvd: em0
#nameserver 2001:558:feed::1 # resolvd: em0
#nameserver 2001:558:feed::2 # resolvd: em0
#nameserver 2601:1c2:700:a5d0:470:5dff:fe3e:3aa0 # resolvd: em0
lookup file bind

Next up I have to edit unwind.conf to have it point to the desired DNS servers. Unfortunately there is no /etc/unwind.conf nor a sample file in /etc/examples. I gather I have to create one from scratch using the documentation provided. Is this assessment correct?
Reply With Quote