Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

Cannot figure out DNS config

$
0
0
My laptop is connected to home DSL which is configured with DHCP. From what i understand, DNS is also configured through DHCP.
I have a debian 12 system, in which i changed the resolv.conf to following

Code:

# Generated by NetworkManagernameserver 185.228.168.9nameserver 8.8.8.8nameserver 9.9.9.9
but when i run the following command it shows me DNS set by my DSL router

Code:

( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNSIP4.DNS[1]:                             192.168.10.1IP4.DNS[2]:                             192.168.25.1
My question is, are the two IP4 DNS shown, are used by my system or network. If it is of my system, then why isn't it using DNS set in resolv.conf?


Edit

I got the following command through forums, i am not sure how it works or what it show

Code:

( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS

Statistics: Posted by Azhar — 2025-01-19 10:03 — Replies 1 — Views 47



Viewing all articles
Browse latest Browse all 3423

Trending Articles