0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

/etc/resolv.conf

Last updated at Posted at 2023-07-25

DNSサーバのΙPアドレスをnameserverに記載している。
特定のドメインも記載している。
localdomainのipアドレスは/etc/hostsから読み取る
外部ドメインは、root-servers.net

[linuxstudy@localhost ~]$ cat /etc/resolv.conf 
# Generated by NetworkManager
search localdomain
nameserver 192.168.253.2

参考資料 https://linuc.org/study/knowledge/507/

[linuxstudy@localhost ~]$ grep host /etc/nsswitch.conf 
#hosts:     db files nisplus nis dns
hosts:      files dns myhostname
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?