首页 > 代码库 > openSuSE DNS SERVER CONFIG

openSuSE DNS SERVER CONFIG

system:openSuSE 12.3(much better and frendly than the 12.1 in network config)
1,network config,attention the Domain Name,site is the zone name,linux-johv is mac name
 openSuSE <wbr>DNS <wbr>SERVER <wbr>CONFIG
2,dns config by yast2
a)NS Records of 211.168.192.in-addr.arpa and site.test.com are same(add site.test.com.)
 openSuSE <wbr>DNS <wbr>SERVER <wbr>CONFIG
b)Records of test.com
 openSuSE <wbr>DNS <wbr>SERVER <wbr>CONFIG
c)Records of 211.168.192.in-addr.arpa
 openSuSE <wbr>DNS <wbr>SERVER <wbr>CONFIG
3,files config
a)/etc/named.conf
openSuSE <wbr>DNS <wbr>SERVER <wbr>CONFIG
b)/var/lib/named/master(modify the 211.168.192.in-addr.arpa file to match the picture below,otherwise nslookup 192.168.211.* cat be parse sucessfully)
openSuSE <wbr>DNS <wbr>SERVER <wbr>CONFIG
c)/etc/resolv.conf(this file will be modified by the system when you config the network or dns,so don‘t modify it if you don‘t konw how to)
nameserver 192.168.0.1
nameserver 127.0.0.1
nameserver 192.168.211.135(ip of the host)
4,sucess
openSuSE <wbr>DNS <wbr>SERVER <wbr>CONFIG

openSuSE <wbr>DNS <wbr>SERVER <wbr>CONFIG


fuck the 12.1,waste me too much time
just for note,anyone right resverd