This option exist in this submenu:
Services > ISC DHCPv4 > LAN
According to RFC 2132 3.8, use option "6". The minimum length is 4 octets, and the length must always be a multiple of 4 octets. Servers should be listed in order of preference.
Convert IP Addresses to Hexadecimal:
Convert the individual IP addresses you want to use to their hexadecimal equivalents. Here are some examples:
c0:a8:00:01
c0:a8:00:02
c0:a8:00:03
Some tools use periods (.) instead of colons ( : ). Ensure you replace any symbol with colons ( : ).
Concatenate the Hexadecimal Values:
In the order of server preference, concatenate the hex values together using colons ( : ) as the separator. For example:
c0:a8:00:01:c0:a8:00:02:c0:a8:00:03
Configure OPNsense:
6
into the Number field.string
.c0:a8:00:01:c0:a8:00:02:c0:a8:00:03
.As you can view in the screen, in this example we have entered 3 DNS, so: 1.1.1.1 - 8.8.8.8 = 8.8.4.4
Renew IP Address:
After saving the configuration, renew the IP address to apply the changes. In Windows, you can do this by running the following commands in the Command Prompt:
ipconfig /renew
ipconfig /all