03-01-2019 07:41 AM
Hello Team,
Kinldy advise if you can assist with this inquiry:
our remote server can only be acces via https ( https://Portal@123.com). We installed this servers on multiple customers (different subnet).The customer access a portal (https://Portal@123.com) that points to the local server IP address
issue: Our DNS server can only assign one IP address to a domain name for example:
Portal_1@123.com ip 1.1.1.2
Portal_2@123.com ip 2.2.2.2
Portal_3@123.com ip 3.3.3.2
Our goal is to have each customer cisco router perform DNS resolution from https://Portal@123.com to the IP address of the server in their office .The DNS resolution shouold be local so that every site/customer office will have the same URL.https://Portal@123.com We have to use a URL for HTTPS protocols.
any suggestion will be greatly appreciated
03-02-2019 10:07 AM
Hi
i think these two docs below will help you set it up
https://www.cisco.com/c/en/us/support/docs/ip/domain-name-system-dns/24182-reversedns.html
https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/ip-host.html
ip host
To define static hostname-to-address mappings in the Domain Name System (DNS) hostname cache, use the ip host command. To remove a hostname-to-address mapping, use the no form of this command.
ip host name address1 [address2... address6]
no ip host name address1 [address2... address6]
name |
Hostname. The name can be any case-sensitive, alphanumeric string up to 80 characters. |
address1 |
IPv4 address in the x.x.x.x format. |
address2 ...address6 |
(Optional) Up to five additional IPv4 addresses in the x.x.x.x format. |
None
Global configuration mode
Release
|
Modification
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Use the ip host command to add a static host name to DNS.
This example shows how to configure a static hostname:
switch(config)# ip host mycompany.com 192.0.2.1
Command
|
Description
|
---|---|
show hosts |
Displays information about the IP domain name configuration. |
03-02-2019 04:31 PM
03-05-2019 02:19 PM
We would like to access a remote server portla address View.CCC.net and we would like to user the same portal address on each office locateion.Therefore, we were looking to see if we can have a router map the http address to an IP .. but all attemptes were unsuccessful.
We tested this command on cisco 2800 and 2900, any suggestion will be greatly appreaciated.
Server IP 192.168.1.2
Domain name BBB.net
VRF AAA
HTTPS address View.CCC.net
!
ip domain lookup
ip dns server
ip host vrf AAA www.View.CCC.net 192.168.1.2
ip dns view vrf AAA default
ip domain name BBB.net
ip dns view vrf AAA default
ip dns primary BBB.net soa ns1.BBB.net View.CCC.net 21600 900 7776000 86400
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide