29 Kasım 2007 Perşembe

GÜNÜN İPUCU 10/11/2007

Solaris 9 işletim sisteminde Sunucunun DNS ayarları aşağıdaki şekilde yapılır. Sisteme root user'ı ile login olunur.


/etc/nsswitch.conf dosyası vi editörü ile açılır. aşağıdaki gibi bir dosya gelmekte. Bunun içerisinde host satırının karşısına files dns yazılmalıdır.

# vi /etc/nsswitch.conf
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd: files
group: files
hosts: files dns
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files

dosya save edilir ve çıkılır. DNS sunucuları ise resolv.conf dosyasında tanımlanır.


#vi /etc/resolv.conf
search kaya.com.tr
nameserver 193.140.100.210
nameserver 193.140.100.215
nameserver 193.140.100.220

dosya save edilir ve çıkılır.

Hiç yorum yok: