Mailinglist Archive: opensuse (958 mails)

< Previous Next >
Re: [opensuse] Where to set the domain name? - Leap 15.1 beta
On 07/05/2019 23.18, James Knott wrote:
On 05/07/2019 04:28 PM, Darryl Gregorash wrote:
There is a DHCP option; without it, I would not have a FQDN at all.

None of that information gets written into any file in /etc anymore (as
of Leap 15.0, perhaps even earlier). It is all stored in various places
in /var/run/netconfig and /var/run/wicked (especially the latter).

But if it's not in /etc/resolv.conf, then you need the FQDN to access
anything.



I have done:

#search valinor Valinor

in /etc/resolv.conf

Elesar:/etc # ping isengard
PING isengard (192.168.1.16) 56(84) bytes of data.
64 bytes from Isengard.valinor (192.168.1.16): icmp_seq=1 ttl=64
time=0.324 ms
64 bytes from Isengard.valinor (192.168.1.16): icmp_seq=2 ttl=64
time=0.284 ms
^C


It is still working.


Elesar:/etc # host -v isengard
Trying "isengard"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3450
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;isengard. IN A

;; ANSWER SECTION:
isengard. 0 IN A 192.168.1.16

Received 42 bytes from 192.168.1.16#53 in 0 ms
Trying "isengard"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62574
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;isengard. IN AAAA

Received 26 bytes from 192.168.1.16#53 in 0 ms
Trying "isengard"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30432
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;isengard. IN MX

Received 26 bytes from 192.168.1.16#53 in 15 ms
Elesar:/etc #




The dns server is dnsmasq on Isengard precisely, and has two entries (I
don't know why two) in its /etc/hosts:

192.168.1.16 Isengard.valinor Isengard
192.168.1.16 Isengard.valinor Isengard


So perhaps it resolves because the dns server has both short and long
names. I have tried other machines, same thing. Or perhaps after
deleting the line in /etc/resolv.conf I need to do something.


--
Cheers / Saludos,

Carlos E. R.

(from openSUSE, Leap 15.1 x86_64 (ssd-test))

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups