How can I make google dns the main system one?
Sorry, I had to bin the request to "Precondition Failed" for several reasons.
This can be easily found with an internet search.
It was also addressed here in the forum.
This can be desktop environment related, but you missed to include your garuda-inxi as per topic template.
You also didn't bother trying something and reporting this is the post. This is also requested by the template.
A one-line request is really something more fitting to a chat.
Who knows me knows I hate to do it, but this is really too much...
How can I make google dns the main system one?
If I didn’t format something correctly in the topic, please give me link “correct” design
I want to note that the installation of Google DNS through the gnome gui does not work, I was able to install cloudfire through the garuda assistant, but I would like to install Google.
System: Kernel: 5.16.16-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0 parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=899e8be1-9c86-443b-813d-2bdfe1d336d6 rw [email protected] quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3 Desktop: GNOME v: 41.5 tk: GTK v: 3.24.33 wm: gnome-shell dm: GDM v: 41.3 Distro: Garuda Linux base: Arch Linux Machine: Type: Desktop System: Gigabyte product: N/A v: N/A serial: <superuser required> Chassis: type: 3 serial: <superuser required> Mobo: Gigabyte model: 970A-UD3P v: x.x serial: <superuser required> UEFI: American Megatrends v: FC date: 02/26/2016 CPU: Info: model: AMD FX-8300 bits: 64 type: MT MCP arch: Piledriver family: 0x15 (21) model-id: 2 stepping: 0 microcode: 0x6000852 Topology: cpus: 1x cores: 8 smt: enabled cache: L1: 384 KiB desc: d-8x16 KiB; i-4x64 KiB L2: 8 MiB desc: 4x2 MiB L3: 8 MiB desc: 1x8 MiB Speed (MHz): avg: 4041 high: 4042 min/max: N/A cores: 1: 4042 2: 4042 3: 4042 4: 4042 5: 4042 6: 4042 7: 4042 8: 4041 bogomips: 64679 Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Vulnerabilities: Type: itlb_multihit status: Not affected Type: l1tf status: Not affected Type: mds status: Not affected Type: meltdown status: Not affected Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling Type: srbds status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: ZOTAC driver: nvidia v: 510.54 alternate: nouveau,nvidia_drm pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 2 speed: 5 GT/s bus-ID: 01:00.0 chip-ID: 10de:13c2 class-ID: 0300 Display: x11 server: X.Org v: 184.108.40.206 compositor: gnome-shell driver: X: loaded: nvidia unloaded: modesetting alternate: fbdev,nouveau,nv,vesa gpu: nvidia display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26") s-diag: 583mm (22.95") Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 93 size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A Message: Unable to show GL data. Required tool glxinfo missing. Audio: Device-1: AMD SBx00 Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403 Device-2: NVIDIA GM204 High Definition Audio vendor: ZOTAC driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 2 speed: 5 GT/s bus-ID: 01:00.1 chip-ID: 10de:0fbb class-ID: 0403 Sound Server-1: ALSA v: k5.16.16-zen1-1-zen running: yes Sound Server-2: PulseAudio v: 15.0 running: no Sound Server-3: PipeWire v: 0.3.48 running: yes Network: Device-1: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter driver: 8139too v: 0.9.28 modules: 8139cp port: d000 bus-ID: 03:06.0 chip-ID: 10ec:8139 class-ID: 0200 IF: enp3s6 state: up speed: 100 Mbps duplex: full mac: <filter> Drives: Local Storage: total: 931.51 GiB used: 598.07 GiB (64.2%) SMART Message: Required tool smartctl not installed. Check --recommends ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: DT01ACA100 size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: A750 scheme: GPT Partition: ID-1: / raw-size: 97.17 GiB size: 97.17 GiB (100.00%) used: 18.32 GiB (18.9%) fs: btrfs dev: /dev/sda4 maj-min: 8:4 ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%) used: 576 KiB (0.1%) fs: vfat dev: /dev/sda3 maj-min: 8:3 ID-3: /home raw-size: 97.17 GiB size: 97.17 GiB (100.00%) used: 18.32 GiB (18.9%) fs: btrfs dev: /dev/sda4 maj-min: 8:4 ID-4: /var/log raw-size: 97.17 GiB size: 97.17 GiB (100.00%) used: 18.32 GiB (18.9%) fs: btrfs dev: /dev/sda4 maj-min: 8:4 ID-5: /var/tmp raw-size: 97.17 GiB size: 97.17 GiB (100.00%) used: 18.32 GiB (18.9%) fs: btrfs dev: /dev/sda4 maj-min: 8:4 Swap: Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) ID-1: swap-1 type: zram size: 15.61 GiB used: 5.5 MiB (0.0%) priority: 100 dev: /dev/zram0 Sensors: System Temperatures: cpu: 41.9 C mobo: N/A gpu: nvidia temp: 34 C Fan Speeds (RPM): N/A gpu: nvidia fan: 31% Info: Processes: 332 Uptime: 2h 20m wakeups: 0 Memory: 15.61 GiB used: 3.99 GiB (25.6%) Init: systemd v: 250 tool: systemctl Compilers: gcc: 11.2.0 Packages: 1193 pacman: 1189 lib: 318 snap: 4 Shell: fish v: 3.3.1 default: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.14 Garuda (2.5.6-2): System install date: 2022-03-25 Last full system update: 2022-03-25 ↻ Is partially upgraded: No Relevant software: NetworkManager Windows dual boot: No/Undetected Snapshots: Timeshift Failed units: bluetooth-autoconnect.service snapper-cleanup.timer
This is the best post I could find in the forum:
Just reformatted the garuda-inxi with ~~~ before and after instead of the BlockQuote, since it is a bit more readable...
Let's continue with this initial topic.
see here : Basic steps to privacy on Garuda Linux | Garuda Linux wiki
From Garuda Assistant -> Settings -> DNS (Choose DNS Service)
Choose what you want and test
If you use the garuda assisant to set DNS
you won't be able to set it from network manager config and garuda assistant will overwrite
(just make a test to change my custom DNS with garuda Assistant and I was stuck i needed to rollaback a btfs snapshot)
EDIT : my mistake google DNS are not in the garuda DNS settings
Better way to do this is to add in your system-connection under [ipv4] block
sudo vim /etc/NetworkManager/system-connections/yourconnecton dns=220.127.116.11;18.104.22.168;
And restart network service / reboot system
Have a nice day
chattr -i /etc/resolv.conf
Yeah I know chattr but file is auto generated with NetworkManager
Don't know this script but It's a way to edit this …
But personally I don't like the way that why I don't modify it with hand
And I give a try to use btfr snapshoot
But this is not the subject about this topic
When NetworkManager is given a DHCP assignment from the gateway, it also copies the DNS servers over into
resolv.conf. In most cases this is considered a helpful feature because setting the DNS you want to use on the gateway is typically more practical than changing it piecemeal on each connected device.
If you cannot change the DNS assignment on the gateway (if it isn't your router, for example, or you otherwise cannot change it) just:
- Remove the immutable attribute from
- Make DNS changes you desire
- Re-add the immutable attribute to prevent NetworkManager from overwriting the file
I have not examined the script you mentioned, but the process is actually quite simple without it in my opinion.
It's everything in the post I linked above.
I really do believe it works.
It's worth trying....
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.