Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
On my Windows-XP PC, i see this, and ask mself why i get the 'Server:UnKnown'
D:\>nslookup 192.168.178.250
*** Can't find server name for address 192.168.178.250: Server failed
*** Default servers are not available
Server: UnKnown
Address: 192.168.178.250
*** UnKnown can't find 192.168.178.250: Server failed
D:\>nslookup opensuse
*** Can't find server name for address 192.168.178.250: Server failed
*** Default servers are not available
Server: UnKnown
Address: 192.168.178.250
QUESTIONS:
250.178.168.192.in-addr.arpa, type = PTR, class = IN
------------
*** Can't find server name for address 192.168.178.250: Server failed
*** Default servers are not available
Default Server: UnKnown
Address: 192.168.178.250
>
zone-file contains:
example.com. IN NS opensuse.example.com.
opensuse IN A 192.168.178.250
reverse-file contains:
.178.168.192.in-addr.arpa IN NS opensuse.example.com.
250.178.168.192.in-addr.arpa IN PTR opensuse.example.com.
== named.conf ==
options {
directory "/var/lib/named";
# include "/etc/named.d/forwarders.conf";
};
logging {
category queries { log_file; };
category xfer-in { log_file; };
category xfer-out { log_file; };
category default { log_file; };
channel log_file { file "/var/log/dns.log" size 2048M; };
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "example.com" in {
allow-transfer { localhost; localnets; };
file "master/example.com";
type master;
};
zone "178.168.192.in-addr.arpa" in {
allow-transfer { localhost; localnets; };
file "master/178.168.192.in-addr.arpa";
type master;
};
== example.com
$TTL 2d
@ IN SOA opensuse.example.com. root.opensuse.example.com. (
2008082201 ; serial
3h ; refresh
1h ; retry
1w ; expiry
1d ) ; minimum
example.com. IN NS opensuse.example.com.
example.com. IN MX 10 opensuse.example.com.
opensuse IN A 192.168.178.250
asus IN A 192.168.178.2
router IN A 192.168.178.1
medion IN A 192.168.178.30
xppro1 IN A 192.168.178.50
== 178.168.192.in-addr.arpa
$TTL 2d
@ IN SOA opensuse.example.com. root.example.com. (
2008082200 ; serial
3h ; refresh
1h ; retry
1w ; expiry
1d ) ; minimum
.178.168.192.in-addr.arpa IN NS opensuse.example.com.
250.178.168.192.in-addr.arpa IN PTR opensuse.example.com.
1.178.168.192.in-addr.arpa IN PTR router.example.com.
2.178.168.192.in-addr.arpa IN PTR asus.example.com.
30.178.168.192.in-addr.arpa IN PTR medion.example.com.
50.178.168.192.in-addr.arpa IN PTR xppro1.example.com.
Yes, it works with changing thes few dots.....
(i MUST have read the manual in a wrong way
== 178.168.192.in-addr.arpa
Quote:
$TTL 2d
@ IN SOA opensuse.example.com. root.example.com. (
2008082200 ; serial
3h ; refresh
1h ; retry
1w ; expiry
1d ) ; minimum
178.168.192.in-addr.arpa. IN NS opensuse.example.com.
250.178.168.192.in-addr.arpa. IN PTR opensuse.example.com.
1.178.168.192.in-addr.arpa. IN PTR router.example.com.
2.178.168.192.in-addr.arpa. IN PTR asus.example.com.
30.178.168.192.in-addr.arpa. IN PTR medion.example.com.
50.178.168.192.in-addr.arpa. IN PTR xppro1.example.com.
and you're right about the fact that this:
Quote:
2.178.168.192.in-addr.arpa. IN PTR asus.example.com.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.