F5F Stay Refreshed Software Operating Systems Issue with the search domain on your MacOS BigSur system.

Issue with the search domain on your MacOS BigSur system.

Issue with the search domain on your MacOS BigSur system.

F
FlamingTiger9
Member
235
08-04-2020, 01:30 PM
#1
F
FlamingTiger9
08-04-2020, 01:30 PM #1

C
Camsell
Member
207
08-04-2020, 09:33 PM
#2
Updating resolv.conf on macOS hasn't been officially approved, though it previously functioned. The system automatically creates the file when certain events occur (like booting or changing network settings), which might be causing your issue. This file mainly serves as a workaround for other POSIX implementations. For better results, consider using the DNS settings in System Preferences instead.
C
Camsell
08-04-2020, 09:33 PM #2

Updating resolv.conf on macOS hasn't been officially approved, though it previously functioned. The system automatically creates the file when certain events occur (like booting or changing network settings), which might be causing your issue. This file mainly serves as a workaround for other POSIX implementations. For better results, consider using the DNS settings in System Preferences instead.

D
djdiamond100
Junior Member
13
08-04-2020, 11:43 PM
#3
I started with the basic steps, but it still fails. Changed the search to Google in the interface. Tried pinging www, got an error: cannot resolve www: Unknown host. It seems Apple moved some DNS-related components to a compatibility layer. The core remains Unix-based, which is fine—I’m okay with improvements. As long as they don’t break or interfere with the Unix parts, I’ll stick with it. A fully supported modern Unix version is what makes me prefer using a Mac.
D
djdiamond100
08-04-2020, 11:43 PM #3

I started with the basic steps, but it still fails. Changed the search to Google in the interface. Tried pinging www, got an error: cannot resolve www: Unknown host. It seems Apple moved some DNS-related components to a compatibility layer. The core remains Unix-based, which is fine—I’m okay with improvements. As long as they don’t break or interfere with the Unix parts, I’ll stick with it. A fully supported modern Unix version is what makes me prefer using a Mac.

B
Bky
Junior Member
4
08-19-2020, 03:09 AM
#4
The system automatically updates the resolv.conf file, which is why direct editing isn’t recommended. This behavior is similar to what many Linux distributions do with tools like gnomes network manager. What you did should work, as shown in the screenshot.
B
Bky
08-19-2020, 03:09 AM #4

The system automatically updates the resolv.conf file, which is why direct editing isn’t recommended. This behavior is similar to what many Linux distributions do with tools like gnomes network manager. What you did should work, as shown in the screenshot.

L
226
08-28-2020, 01:33 PM
#5
You can use a more recent approach instead of /etc/resolv.conf. Create files in /etc/resolver/ such as "example" (sudo nano /etc/resolver/example) with the text "search example.com". Then it will utilize those domains in that directory for all connections, regardless of whether the domain is listed in System Preferences. You can add as many as needed and it will search them in order until it resolves the DNS name.
L
LuLuPlaysCraft
08-28-2020, 01:33 PM #5

You can use a more recent approach instead of /etc/resolv.conf. Create files in /etc/resolver/ such as "example" (sudo nano /etc/resolver/example) with the text "search example.com". Then it will utilize those domains in that directory for all connections, regardless of whether the domain is listed in System Preferences. You can add as many as needed and it will search them in order until it resolves the DNS name.

R
rmayet2
Junior Member
37
09-04-2020, 03:36 PM
#6
Ignored the resolver details, good choice. The correct manual page is resolver(5).
R
rmayet2
09-04-2020, 03:36 PM #6

Ignored the resolver details, good choice. The correct manual page is resolver(5).