# ConnectCore 8M Mini: DNS not working with wired Ethernet but does with WiFi

**URL:** <https://forums.digi.com/t/connectcore-8m-mini-dns-not-working-with-wired-ethernet-but-does-with-wifi/33078>\
**Category:** Linux\
**Tags:** connectcore\
**Created:** [November 5, 2024, 7:28pm UTC](https://forums.digi.com/t/connectcore-8m-mini-dns-not-working-with-wired-ethernet-but-does-with-wifi/33078 "2024-11-05T19:28:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bevenson](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@bevenson](https://forums.digi.com/u/bevenson)\
**Post date:** [November 5, 2024, 7:28pm UTC](https://forums.digi.com/t/connectcore-8m-mini-dns-not-working-with-wired-ethernet-but-does-with-wifi/33078/1 "2024-11-05T19:28:15Z")

</div>

I’m building an image for the ConnectCore 8M Mini using dey-4.0. It’s dey-image-lvgl with a few more applications added in; no new networking-related applications and no changes to NetworkManager’s configuration. The wired Ethernet connection is set up for DHCP and it acquires an IP address without issue. However, my device doesn’t configure a list of DNS servers from the local DHCP server. If I use the Wi-Fi connection, DNS works just fine. I’ve confirmed this behavior on multiple networks on which DNS works fine for the wired Ethernet on my laptop.

Here is the contents of /etc/NetworkManager/NetworkManager.conf:

```auto
[main]
plugins=ifupdown,keyfile
no-auto-default=type:ethernet
dns=dnsmasq
rc-manager=file

[ifupdown]
managed=false

[keyfile]
unmanaged-devices=interface-name:p2p*;interface-name:wlan1

[device]
wifi.scan-rand-mac-address=no

[digi-recovery]
ifdownup=false

```

Here is the contents of /etc/nsswitch.conf:

```auto
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: compat
group: compat
shadow: compat

hosts: files myhostname dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis

```

I don’t notice anything that would trigger a difference between wired Ethernet and Wi-Fi DNS operation. Anyone know of a reason why I would be seeing this problem and how to fix it?

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [November 19, 2024, 9:04pm UTC](https://forums.digi.com/t/connectcore-8m-mini-dns-not-working-with-wired-ethernet-but-does-with-wifi/33078/2 "2024-11-19T21:04:15Z")

</div>

are you using udhcpd?  
To enable and configure dhcp on module use something like this:  
root@ccimx6ulsbc:~# cat /etc/udhcpd.conf

start 192.168.46.220

end 192.168.46.225

interface wlan1

max\_leases 6

#opt dns 192.168.1.1 10.10.8.62

option subnet 255.255.255.0

```
                    #opt router 192.168.46.30

```

#opt wins 10.10.8.62

#option dns 10.10.8.64 # appened to above DNS servers for a total of 3

#option domain local

option lease 864000 # 10 days of seconds

root@ccimx6ulsbc:~# touch /var/lib/misc/udhcpd.leases

root@ccimx6ulsbc:~# udhcpd /etc/udhcpd.conf -f

udhcpd: started, v1.35.0

udhcpd: sending OFFER to 192.168.46.220

udhcpd: sending OFFER to 192.168.46.220

udhcpd: sending ACK to 192.168.46.220
