Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
iam trying to set up a intranet under our company, need to run 10 web sites inside our intranet, but my DNS server is not working. For a single site DNS server is working fine but more than one it is not working only resolving one site, one more question what exactly a ns record is doing inside domain zone files, How i point this NS1 and NS to main server, where i want to set up this, any help apprecited, thanks in advance
not sure what help we're meant to provide, if you're not going to tell us anythign about what name server you are running and what your config for it looks like...
Ok iam posting my configuration here is my named.conf, i my first site(mydomainexample.com) is resolving fine when i configured http,but second test.com is not working..that i said in my first only one name is resolving fine.
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "mydomainexample.com" IN {
type master;
file "mydomainexample.com.zone";
allow-update{ none; };
};
zone "198.168.1.2.in-addr.arpa" IN {
type master;
file "192.168.1.2.zone";
allow-update{ none;};
};
zone "test.com" IN {
type master;
file "test.com.zone";
allow-update{ none;};
};
include "/etc/rndc.key";
is used for rDNS (reverse DNS), so for looking up host names based on IP addresses.
The IP address must be put backwards, like the 0.0.127... stuff for the localhost zone (localhost interface always has IP address 127.0.0.1 and the entries in your conf create a local DNS zone for the localhost interface by putting 0.0.127 (defines the DNS domain/zone to which the localhost belongs).
"ns" records are DNS records for other DNS servers. They would go in the zone file to include, for instance, DNS servers for sub-domains or backup DNS servers. You may also want to put in some ns records for the domains you're part of (like .com). But standard DNS configuration manuals will tell you what config you need exactly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.