HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: DNS question
Operating System - Linux
1829729
Members
1726
Online
109992
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
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
10-29-2004 08:49 AM
10-29-2004 08:49 AM
DNS question
Hi.
I have a DNS server resolving my domain to valid IP addresses so I can receive mail etc.
eg. mydomain.com -> 100.10.20.30
Is it possible to use the same server to resolve my domain also to invalid local addresses?
eg. mydomain.com -> 192.168.30.30
So when I ping from outside the network it will resolve
myserver.mydomain.com to 100.10.20.30
but from inside the network it will resolve
myserver.mydomain.com to 192.168.30.30
Regards.
Jano
I have a DNS server resolving my domain to valid IP addresses so I can receive mail etc.
eg. mydomain.com -> 100.10.20.30
Is it possible to use the same server to resolve my domain also to invalid local addresses?
eg. mydomain.com -> 192.168.30.30
So when I ping from outside the network it will resolve
myserver.mydomain.com to 100.10.20.30
but from inside the network it will resolve
myserver.mydomain.com to 192.168.30.30
Regards.
Jano
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2004 09:30 AM
10-29-2004 09:30 AM
Re: DNS question
Yes, this is possible. You will need to use Bind v9, and maintain 2 separate zone files for the inside and outside.Additionally, you will need a way to distinguish which clients have access to which zone file via an IP range.To utilize this, you will need to configure bind to use DNS "Views". An example of implementing DNS views can be found here:
http://www.zytrax.com/books/dns/ch7/view.html
If Bind9 isn't an option, you could always run 2 seperate instances of bind by using the 'listen-on' directive, coupled with seperate zone files as well. This is also assuming you have 2 IP addresses on the DNS server.
http://www.zytrax.com/books/dns/ch7/view.html
If Bind9 isn't an option, you could always run 2 seperate instances of bind by using the 'listen-on' directive, coupled with seperate zone files as well. This is also assuming you have 2 IP addresses on the DNS server.
It is my firm belief that it is a mistake to hold any firm beliefs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2004 06:43 PM
10-30-2004 06:43 PM
Re: DNS question
You set up a seperate DNS database for local machines. I call mine local.dns and I put it in the /etc/named.conf file.
Then I point local machines to the inside DNS server and they get the local resolution for the internal server.
SEP
Then I point local machines to the inside DNS server and they get the local resolution for the internal server.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP