HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: DNS forwarding
Operating System - Linux
1825677
Members
3751
Online
109686
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2010 12:05 PM
02-14-2010 12:05 PM
Hi,
I have installed BIND 9 in my opensuse at home in order to test how the forwarding works.
What i want to do is to reject any dns query except the domains I want to resolve. I have deleted the configuration of “root.hint” file and configured /etc/named.conf with a zone like this:
zone "wikipedia.org" in {
type forward;
forward only;
forwarders { my_ISP_dns_1; my_ISP_dns_2; };
I don't show my ISP DNS's ip addresses to protect the innocent.
I restart the named service and seems to be okay, I can resolve “wikipedia.org” and nothing else.
However, I was expecting to resolve also “es.wikipedia.org” ... but that's not working. Is there a way to tell bind to resolve domains without creating a zone file with all the possibilities?.
I'm not familiar with dns stuff so i'd appreciate any help.
Thanks in advance,
Zigor
I have installed BIND 9 in my opensuse at home in order to test how the forwarding works.
What i want to do is to reject any dns query except the domains I want to resolve. I have deleted the configuration of “root.hint” file and configured /etc/named.conf with a zone like this:
zone "wikipedia.org" in {
type forward;
forward only;
forwarders { my_ISP_dns_1; my_ISP_dns_2; };
I don't show my ISP DNS's ip addresses to protect the innocent.
I restart the named service and seems to be okay, I can resolve “wikipedia.org” and nothing else.
However, I was expecting to resolve also “es.wikipedia.org” ... but that's not working. Is there a way to tell bind to resolve domains without creating a zone file with all the possibilities?.
I'm not familiar with dns stuff so i'd appreciate any help.
Thanks in advance,
Zigor
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2010 12:05 AM
02-15-2010 12:05 AM
Solution
$ nslookup es.wikipedia.org
Server: 127.0.0.1
Address: 127.0.0.1#53
Non-authoritative answer:
es.wikipedia.org canonical name = rr.wikimedia.org.
rr.wikimedia.org canonical name = rr.esams.wikimedia.org.
Name: rr.esams.wikimedia.org
Address: 91.198.174.2
Looks like es.wikipedia.org is an alias, pointing to another alias, pointing to rr.esams.wikimedia.org.
I seem to recall that pointing aliases to aliases was not recommended... but I guess you probably aren't in a position to fix this. Anyway, it obviously *can* be made to work.
To resolve "es.wikipedia.org", your server must be able to resolve "wikimedia.org" too. If the server is prevented from doing that, it cannot resolve the alias chain, and therefore cannot provide an answer to the client's request.
MK
Server: 127.0.0.1
Address: 127.0.0.1#53
Non-authoritative answer:
es.wikipedia.org canonical name = rr.wikimedia.org.
rr.wikimedia.org canonical name = rr.esams.wikimedia.org.
Name: rr.esams.wikimedia.org
Address: 91.198.174.2
Looks like es.wikipedia.org is an alias, pointing to another alias, pointing to rr.esams.wikimedia.org.
I seem to recall that pointing aliases to aliases was not recommended... but I guess you probably aren't in a position to fix this. Anyway, it obviously *can* be made to work.
To resolve "es.wikipedia.org", your server must be able to resolve "wikimedia.org" too. If the server is prevented from doing that, it cannot resolve the alias chain, and therefore cannot provide an answer to the client's request.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2010 05:11 AM
02-15-2010 05:11 AM
Re: DNS forwarding
You got it, that solved my problem ( to be honest i didn't realized that is wikimedia, not wikipedia ), very helpful response.
Thanks much,
Zigor
Thanks much,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2010 05:12 AM
02-15-2010 05:12 AM
Re: DNS forwarding
Thanks much for the help.
Regards,
Zigor
Regards,
Zigor
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP