Hi
I configured zone file on dns bind on yast .
But to see this code…
linux:~ # host linux-75v7
Host linux-75v7 not found: 3(NXDOMAIN)
linux:~ # host 192.168.116.128
Host 128.116.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
linux:~ #
or ping code
linux:~ # ping linux-75v7
ping: unknown host linux-75v7
linux:~ #
These files zone
First example.com is master
$TTL 172800
@ IN SOA linux.linux. root.linux.linux. (
2008081405
10800
3600
604800
86400)
IN NS linux.example.com .
linux-75v7 IN A 192.168.116.128
Second file is reverse zone
$TTL 172800
@ IN SOA linux.linux. root.linux.linux. (
2008081409
10800
3600
604800
86400)
IN NS 254.116.168.192.in-addr.arpa.
128 IN PTR linux-75v7.linux.example.com .
And i configured dns from this site Step by Step
Configuring DNS and DHCP on Suse Linux Enterprise Server
Regards
hcvv
August 14, 2008, 8:54pm
2
To check if your DNS server is used by your system use nslookup instead of host. It will show your the address of the server
boven:~ # nslookup suse.com
Server: 194.109.6.66
Address: 194.109.6.66#53
Non-authoritative answer:
Name: suse.com
Address: 195.135.220.3
boven:~ #
linux:~ # nslookup linux-75v7.linux.example.com
Server: 212.93.162.9
Address: 212.93.162.9#53
** server can’t find linux-75v7.linux.example.com : NXDOMAIN
linux:~ #
hcvv
August 14, 2008, 9:51pm
4
That is nice. But only **you **can tell if 212.93.162.9 is the server your are trying to get configured and used!
So is 212.93.162.9 your bind/DNS server or is it the one you already used (maybe that from your ISP)?
What is in your /etc/resolv.conf? Seeing the above it has at least:
nameserver 212.93.162.9
but is that the one you want to use?
cd etc/resolv.conf
nameserver 212.93.162.9
nameserver 212.93.162.8
search linux
hcvv
August 15, 2008, 10:53am
6
Hello linuxformat,
Do talk a little bit more please. I asked you several times to tell what 212.93.162.9 is! Is it the system you are trying to make a DNS server or not!
212.93.162.9 this is my dns for internet ,
And yes i trying to make a DNS server
212.93.162.9 It drew my attention
This name server for internet but i change the name to domain name example.com .
It was the solution to the problem.
Thank you very much