Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 20:43:11

Author Topic: DNS configure with private IP on VPS  (Read 3125 times)

0 Members and 1 Guest are viewing this topic.

Offline xamer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
DNS configure with private IP on VPS
« on: 2015-12-15, 11:48:35 »
Virtual server is a private IP, which is configured 1:1 via NAT on the public IP. Currently the private IP is the same for all: 172.31.1.100 and i know public IP? for example, 78.46.206.123.
How can I set public IP for using it in DNS?
Or maybe you know how can i use Kloxo DNS in this conitions?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DNS configure with private IP on VPS
« Reply #1 on: 2015-12-15, 12:37:06 »
Yes, you need use public IP for dns. Also, you need NAT-ing dns port (port 53).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline xamer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: DNS configure with private IP on VPS
« Reply #2 on: 2015-12-17, 21:42:40 »
Ok, i just create DNS Template with private IP 172.31.1.100 and then change to public IP  78.46.206.123, after rebuild for all sites. I use there ns1.domain.com and ns2.domain.com with the same public IP 78.46.206.123.
Then in registar i set NS servrs:
ns1.domain.com 78.46.206.123
ns2.domain.com any, because i don't have another public IP.
And after several hours all sites started to work.
Yes, intodns showes several mistakes, but everything works; sites, mail ?tc

2. You can use DNS of the registar, then you have set your public IP into A for domain and all subdomains including www. For MX set mail. Everything works.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.027 seconds with 18 queries.

web stats analysis