HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2 IPs for the same URL using BIND
Operating System - HP-UX
1837968
Members
3013
Online
110124
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
05-14-2001 01:17 PM
05-14-2001 01:17 PM
Hi,
I know it sounds strange, but I access my web site using 2 different IPs because of network security layers. I have a "hot" IP open to the web and an internal IP used inside the company (not valid for web, eg. 10.X.X.X).
What I need to do is to resolve the same address to 2 different IPs, depending on the querie source IP. It means that I want to resolve the address (eg.) www.test.com to 200.245.364.98 if the querie is coming from outside and for 10.0.9.8 if the querie comes from my internal network.
I know it sounds strange, but I access my web site using 2 different IPs because of network security layers. I have a "hot" IP open to the web and an internal IP used inside the company (not valid for web, eg. 10.X.X.X).
What I need to do is to resolve the same address to 2 different IPs, depending on the querie source IP. It means that I want to resolve the address (eg.) www.test.com to 200.245.364.98 if the querie is coming from outside and for 10.0.9.8 if the querie comes from my internal network.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2001 01:41 PM
05-14-2001 01:41 PM
Re: 2 IPs for the same URL using BIND
Never tried it, but I think you can do this using the allow-query directive..set up two different zones in named.conf and use the allow-query directive for each one.one for inside and one for outside.
If not, you can have two instances of named running..one to answer inside queries and one for external queries..this may be your best bet..you can use the 'listen on' directive to specific IP's or ports.
If not, you can have two instances of named running..one to answer inside queries and one for external queries..this may be your best bet..you can use the 'listen on' directive to specific IP's or ports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 07:41 AM
05-15-2001 07:41 AM
Re: 2 IPs for the same URL using BIND
Well, you could do it internally without using BIND. You can setup a static WINS address if you're using WinNT or 9X clients internally.
That's what we've done here. BIND is used for external addresses, and then we setup a static WINS address in our Win2K WINS server to point the internal address to the URL.
It works great for us and will likely be a better solution to your problem.
Hope this helps,
John
That's what we've done here. BIND is used for external addresses, and then we setup a static WINS address in our Win2K WINS server to point the internal address to the URL.
It works great for us and will likely be a better solution to your problem.
Hope this helps,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 08:05 AM
05-15-2001 08:05 AM
Solution
Use split DNS: two sets of DNS zones, internal and external. this is the best approach if you have a firewall. Put all of your internet accessible names and IPs in the external dns server (be very deliberate with the NS and MX records). Protect your internal names and IPs in a internal server, secured from the internet. You will have to register your external server (and hopefully secondary slave) with your domain registrar as quickly as possible.
If you don't have a firewall, or you don't have another machine for the external zones, this can still be done with two named processes running, each with a different zone directory and configuration file, on the same machine with two network interfaces or IP aliasing, and binding each named to its appropriate IP (internal should also bind to loopback/localhost). If the web server happens to run on this machine, make sure the resolver points to the internal named on 127.0.0.1, not the external IP, since only the internal named will have forwarding enabled.
If you don't have a firewall, or you don't have another machine for the external zones, this can still be done with two named processes running, each with a different zone directory and configuration file, on the same machine with two network interfaces or IP aliasing, and binding each named to its appropriate IP (internal should also bind to loopback/localhost). If the web server happens to run on this machine, make sure the resolver points to the internal named on 127.0.0.1, not the external IP, since only the internal named will have forwarding enabled.
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