DNS - Domain Name System: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 70: Zeile 70:


=== Solaris 11 ===
=== Solaris 11 ===
  '''''#''''' svccfg -s network/dns/client
 
  '''''svc:/network/dns/client>''''' setprop config/search = astring: ("fernuni-hagen.de")
# /usr/sbin/nscfg import -f dns/client
  '''''svc:/network/dns/client>''''' setprop config/nameserver = net_address: (132.176.129.201 132.176.129.202 132.176.129.203)
# cp /etc/nsswitch.dns /etc/nsswitch.conf
  '''''svc:/network/dns/client>''''' listprop config
# /usr/sbin/nscfg import -f name-service/switch
  '''''svc:/network/dns/client>''''' select network/dns/client:default
# svcadm enable dns/client
  '''''svc:/network/dns/client:default>''''' refresh
# svcadm refresh name-service/switch
  '''''svc:/network/dns/client:default>''''' quit


Anschließend kann die Konfiguration unter <code>/etc/resolv.conf</code> kontrolliert werden.
Anschließend kann die Konfiguration unter <code>/etc/resolv.conf</code> kontrolliert werden.
491

Bearbeitungen

Navigationsmenü