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:
- Default DNS for the Bridge:
- By default, the bridge uses the DNS specified in/etc/resolv.confunder thenameserverentry.
- If you encounter issues with Internet access, verify that the DNS settings are correctly configured for the bridge.
- 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.
- Systemd Service Considerations:
- Thesystemdautomatically sets127.0.0.53as the nameserver and waits for address resolution. If thesystemdis active, follow these steps:
- Edit thesystemdresolved 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