unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: znavko--- via <help-guix@gnu.org>
To: "help-guix" <help-guix@gnu.org>
Subject: Which dns server my system is using?
Date: Mon, 23 Nov 2020 16:40:05 +0000	[thread overview]
Message-ID: <20c547a25019bae28a68ae06b7f4c99d@disroot.org> (raw)

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?

             reply	other threads:[~2020-11-23 16:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-23 16:40 znavko--- via [this message]
2020-11-23 17:19 ` Which dns server my system is using? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20c547a25019bae28a68ae06b7f4c99d@disroot.org \
    --to=help-guix@gnu.org \
    --cc=znavko@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).