Bridge DNS configuration

When using custom DNS management or services that handle DNS, consider the impact on internet access after creating a bridge for the physical network adapter. To help prevent any connection issues, follow these steps to enable proper DNS configuration:
  1. Default DNS for the Bridge:
    • By default, the bridge uses the DNS specified in
      /etc/resolv.conf
      under the
      nameserver
      entry.
    • If you encounter issues with Internet access, verify that the DNS settings are correctly configured for the bridge.
  2. Customize DNS Settings:
    • Open a terminal and use the following command by replacing
      <DNSIP>
      with the actual DNS IP address:
      sudo resolvectl dns bridgeAdapterName <DNSIP>
      This sets the DNS directly on the network adapter associated with the bridge.
  3. Systemd Service Considerations:
    • The
      systemd
      automatically sets
      127.0.0.53
      as the nameserver and waits for address resolution. If the
      systemd
      is active, follow these steps:
      • Edit the
        systemd
        resolved configuration file:
        sudo nano /etc/systemd/resolved.conf
      • Look for the line:
        DNS=<DNSIP>
      • Specify the desired DNS IP address without modifying the default address (
        127.0.0.53
        ) in
        /etc/resolv.conf
        .
NOTE: Replace
<DNSIP>
with the actual DNS IP address that you want to use.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.