They are parameters in the file ‘/etc/sysconfig/network/config’ – either edit the file or, use the YaST →
- Section “System” → module “Network Settings” → tab “Hostname/DNS” → “Domain Search” → enter “fritz.box” – it’s a list – for Laptops more than one Domain Name can be entered …
In ‘/etc/sysconfig/network/config’ this is the content of the parameter “NETCONFIG_DNS_STATIC_SEARCHLIST” – a list of Domain Names to be searched …
- Tab “Hostname/DNS” → Name Server 1/2/3 – enter the IP addresses of all of your Name Servers.
In ‘/etc/sysconfig/network/config’ this is the content of the parameter “NETCONFIG_DNS_STATIC_SERVERS” – also a list.
AFAICS, despite YaST only allowing 3 addresses to be configured, there doesn’t seem to be a limit to the list length of the configuration file’s parameter …
NETCONFIG_DNS_STATIC_SERVERS
List of namserver IP addresses used for host-name lookup.
When the NETCONFIG_DNS_FORWARDER variable is set to "resolver", the name servers are written directly to
/etc/resolv.conf.
Otherwise, the nameserver are written into a forwarder specific configuration file. Whether the nameservers are
written as fallback to the /etc/resolv.conf, depends on the NETCONFIG_DNS_FORWARDER_FALLBACK variable. When the
/etc/resolv.conf does not contain any nameservers, the glibc makes use of the name server running on the local
machine (the forwarder).
With AVM FRITZ!Box Routers it can be confusing – the Domain Name of the private LAN and WLAN and Mesh is “fritz.box” and –
- The Host Name of the box is also “fritz.box” …
> dig fritz.box
; <<>> DiG 9.16.6 <<>> fritz.box
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23234
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 3
;; QUESTION SECTION:
;fritz.box. IN A
;; ANSWER SECTION:
fritz.box. 9 IN A 192.168.178.1
;; AUTHORITY SECTION:
fritz.box. 9 IN NS fritz.box.
;; ADDITIONAL SECTION:
fritz.box. 9 IN A 192.168.178.1
fritz.box. 9 IN AAAA fd00::5e49:79ff:fedc:e1aa
fritz.box. 9 IN AAAA 2001:9e8:34b9:e800:5e49:79ff:fedc:e1aa
;; Query time: 0 msec
;; SERVER: 192.168.178.1#53(192.168.178.1)
;; WHEN: Di Mär 15 17:21:04 CET 2022
;; MSG SIZE rcvd: 129
> dig -x 192.168.178.1
; <<>> DiG 9.16.6 <<>> -x 192.168.178.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57959
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 1, ADDITIONAL: 3
;; QUESTION SECTION:
;1.178.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
1.178.168.192.in-addr.arpa. 9 IN PTR fritz.box.
1.178.168.192.in-addr.arpa. 9 IN PTR www.fritz.box.
1.178.168.192.in-addr.arpa. 9 IN PTR myfritz.box.
1.178.168.192.in-addr.arpa. 9 IN PTR www.myfritz.box.
1.178.168.192.in-addr.arpa. 9 IN PTR fritz.nas.
1.178.168.192.in-addr.arpa. 9 IN PTR www.fritz.nas.
1.178.168.192.in-addr.arpa. 9 IN PTR fritz-nas.fritz.box.
1.178.168.192.in-addr.arpa. 9 IN PTR fritz-nas.box.
1.178.168.192.in-addr.arpa. 9 IN PTR wpad.box.
1.178.168.192.in-addr.arpa. 9 IN PTR wpad.fritz.box.
;; AUTHORITY SECTION:
1.178.168.192.in-addr.arpa. 9 IN NS fritz.box.
;; ADDITIONAL SECTION:
fritz.box. 9 IN A 192.168.178.1
fritz.box. 9 IN AAAA fd00::5e49:79ff:fedc:e1aa
fritz.box. 9 IN AAAA 2001:9e8:34b9:e800:5e49:79ff:fedc:e1aa
;; Query time: 0 msec
;; SERVER: 192.168.178.1#53(192.168.178.1)
;; WHEN: Di Mär 15 17:21:18 CET 2022
;; MSG SIZE rcvd: 394
> dig -x fd00::5e49:79ff:fedc:e1aa
; <<>> DiG 9.16.6 <<>> -x fd00::5e49:79ff:fedc:e1aa
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1384
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 1, ADDITIONAL: 3
;; QUESTION SECTION:
;a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. IN PTR
;; ANSWER SECTION:
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR fritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR www.fritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR myfritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR www.myfritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR fritz.nas.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR www.fritz.nas.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR fritz-nas.fritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR fritz-nas.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR wpad.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN PTR wpad.fritz.box.
;; AUTHORITY SECTION:
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa. 9 IN NS fritz.box.
;; ADDITIONAL SECTION:
fritz.box. 9 IN A 192.168.178.1
fritz.box. 9 IN AAAA fd00::5e49:79ff:fedc:e1aa
fritz.box. 9 IN AAAA 2001:9e8:34b9:e800:5e49:79ff:fedc:e1aa
;; Query time: 3 msec
;; SERVER: 192.168.178.1#53(192.168.178.1)
;; WHEN: Di Mär 15 17:21:33 CET 2022
;; MSG SIZE rcvd: 440
> dig -x 2001:9e8:34b9:e800:5e49:79ff:fedc:e1aa
; <<>> DiG 9.16.6 <<>> -x 2001:9e8:34b9:e800:5e49:79ff:fedc:e1aa
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31077
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 1, ADDITIONAL: 3
;; QUESTION SECTION:
;a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. IN PTR
;; ANSWER SECTION:
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR fritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR www.fritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR myfritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR www.myfritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR fritz.nas.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR www.fritz.nas.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR fritz-nas.fritz.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR fritz-nas.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR wpad.box.
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN PTR wpad.fritz.box.
;; AUTHORITY SECTION:
a.a.1.e.c.d.e.f.f.f.9.7.9.4.e.5.0.0.8.e.9.b.4.3.8.e.9.0.1.0.0.2.ip6.arpa. 9 IN NS fritz.box.
;; ADDITIONAL SECTION:
fritz.box. 9 IN A 192.168.178.1
fritz.box. 9 IN AAAA fd00::5e49:79ff:fedc:e1aa
fritz.box. 9 IN AAAA 2001:9e8:34b9:e800:5e49:79ff:fedc:e1aa
;; Query time: 0 msec
;; SERVER: 192.168.178.1#53(192.168.178.1)
;; WHEN: Di Mär 15 17:21:45 CET 2022
;; MSG SIZE rcvd: 440
>