Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange Pi Zero 2W DNS

Featured Replies

Hello, I've issue with nameserver. My router DHCP DNS server point to the Pi which has IP 10.6.6.3.

But for unknown reason 1.0.0.1 keep added in the /etc/resolv.conf:

# This is /run/systemd/resolve/resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 1.0.0.1
nameserver 10.6.6.3
search .

 

I've tried to manually edit and remove it from /etc/resolv.conf but it will come back.

I'm using image from https://github.com/armbian/community/releases/download/24.8.0-trunk.495/Armbian_community_24.8.0-trunk.495_Orangepizero2w_bookworm_current_6.6.36_minimal.img.xz

 

10-dhcp-all-interfaces.yaml

# Added by Armbian
#
# Reference: https://netplan.readthedocs.io/en/stable/netplan-yaml/
#
# Let systemd-networkd manage all Ethernet devices on this system, but be configured by Netplan.

network:
  version: 2
  renderer: networkd
  ethernets:
    all-eth-interfaces:
      match:
        name: "e*"
      dhcp4: yes
      link-local: [ ipv4 ]

 

Is there anything I'm missing?

Edited by NixiElectra

Solved by Werner

  • Solution
2 hours ago, NixiElectra said:

I've tried to manually edit and remove it from /etc/resolv.conf but it will come back.

 

2 hours ago, NixiElectra said:
# This is /run/systemd/resolve/resolv.conf managed by man:systemd-resolved(8).
# Do not edit.

 

Think about it :)

 

Spoiler

You need to adjust systemd-resolved in order to have your changes persistent

 

  • Author
On 8/8/2024 at 10:01 PM, Werner said:

Think about it :)

 

  Hide contents

You need to adjust systemd-resolved in order to have your changes persistent

 

I found out that there was a file that caused this /etc/systemd/resolved.conf.d/00-armbian-default-dns.conf. After removing that, the issue solved. Now only one nameserver exist in the resolv.conf. Cheers

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.