unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Which dns server my system is using?
@ 2020-11-23 16:40 znavko--- via
  2020-11-23 17:19 ` Tobias Geerinckx-Rice
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: znavko--- via @ 2020-11-23 16:40 UTC (permalink / raw)
  To: help-guix

Hi, Guix! Congratulations for 1.2.0!

I want to discover which dns server is using in my PC under Guix?
I have nothing in /etc/resolv.conf:

# cat /etc/resolv.conf
nameserver 192.168.1.1

I use dhcp-client and connect to the network through wifi usb stick.
The services section in my config is like this:
 (services (cons*
 ;; xfce4 desktop, dhcp-client, slim
 (service xfce-desktop-service-type)
 (service dhcp-client-service-type)
 (service slim-service-type)

 (modify-services 
 ;; removing unnecessary services
 (remove (lambda (service)
 (member (service-kind service)
 (list ntp-service-type avahi-service-type
 bluetooth-service network-manager-service-type
 gdm-service-type)))
 %desktop-services) ;end of remove lambda services

 ;; wpa_supplicant + dhcp-client (above) instead of networkmanager
 (wpa-supplicant-service-type config =>
 (wpa-supplicant-configuration
 (interface "wlp0s20f0u1")
 (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))

 ) ;;end of modify-services
 )) ;;end of services

 ;; Allow resolution of '.local' host names with mDNS.
 (name-service-switch %mdns-host-lookup-nss)
Please, how to dig up which dns-server my system uses?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-23 21:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 16:40 Which dns server my system is using? znavko--- via
2020-11-23 17:19 ` Tobias Geerinckx-Rice
2020-11-23 17:41 ` znavko
2020-11-23 18:19   ` Tobias Geerinckx-Rice
2020-11-23 18:00 ` Julien Lepiller
2020-11-23 21:48   ` aviva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).