SnapOverflow

SnapOverflow Logo SnapOverflow Logo

SnapOverflow Navigation

  • Home
  • Server
  • Ubuntu

Mobile menu

Close
  • Home
  • System Administrators
    • Hot Questions
    • New Questions
    • Tags
  • Ubuntu
    • Hot Questions
    • New Questions
    • Tags
  • Help
Home / server / Questions / 312302
Accepted
MacMac
MacMac
Asked: 2011-09-17 10:08:52 +0800 CST2011-09-17 10:08:52 +0800 CST 2011-09-17 10:08:52 +0800 CST

In Webmin (BIND DNS), how do I make ns1.xx.com, ns2.xx.com point to 2 different IPs for multiple domains

  • 772

I have multiple domains which list as:

  • domain.com
  • domain.org
  • domain.biz
  • domain.mobi

and I also have 2 IP addresses which are:

  • 46.4.198.15
  • 46.4.198.16

The server IP is:

  • 46.4.198.1

Now, I want to set them up to be able to work with the domains I have, which of course has to point to the ns1.domain.com and ns2.domain.com, however I want to set them up in Webmin, which the nameservers will be pointed as:

  • ns1.domain.com --> 46.4.198.15
  • ns2.domain.com --> 46.4.198.16

Then all domains will point to ns1.domain.com and ns2.domain.com. I have no idea how to do so.

EDIT:

Okay, I've managed to install BIND DNS module for Webmin, I have done the following:

  1. Created master zone (domain.com).

  2. Created 2 nameservers in Name Server Records

    1. domain.com. -> ns1.domain.com
    2. domain.com. -> ns2.domain.com
  3. Created 3 addresses in Address Records

    1. domain.com. -> 46.4.198.1
    2. ns1.domain.com. -> 46.4.198.15
    3. ns1.domain.com. -> 46.4.198.16

I've also done it to the following other domains, but they all point to ns1.domain.com and ns2.domain.com, yet I still don't see my DNS being propagated, it's been 3+ days. Even What's my DNS has reported my DNS is not propagated yet. Am I doing something wrong?

ip domain nameserver
  • 1 1 Answers
  • 7562 Views

1 Answers

  • Voted
  1. Best Answer
    SparX
    2011-09-17T11:26:13+08:002011-09-17T11:26:13+08:00

    First, you will need to register those nameservers at the registrar of your example.com. As for the webmin part, after registering your nameservers at your domain name registrar -- you'll want to log into Virtualmin, select your "example.com" domain, click Server Configuration -> DNS Records, and create a new "A - IPv4 Address" record for ns1.example.com and ns2.example.com.

    Lastly, you'll want to tell Virtualmin to use your nameservers when it generates NS records for new Virtual Servers that it creates. You can do that by going into 'System Settings' -> 'Server Templates' -> 'Default Settings' -> 'BIND DNS Domain', and set 'Master DNS server hostname' as well as 'Additional manually configured nameservers'.

    Ref: http://www.virtualmin.com/documentation

    • 1

Sidebar

Stats

  • Questions 681609
  • Answers 979841
  • Best Answers 279908
  • Users 287144
  • Popular
  • Answers
  • Marko Smith

    Ping a Specific Port

    • 18 Answers
  • Marko Smith

    Check if port is open or closed on a Linux server?

    • 7 Answers
  • Marko Smith

    How to automate SSH login with password?

    • 10 Answers
  • Marko Smith

    How do I tell Git for Windows where to find my private RSA key?

    • 30 Answers
  • Marko Smith

    What's the default superuser username/password for postgres after a new install?

    • 5 Answers
  • Marko Smith

    What port does SFTP use?

    • 6 Answers
  • Marko Smith

    Resolve host name from IP address

    • 8 Answers
  • Marko Smith

    Command line to list users in a Windows Active Directory group?

    • 9 Answers
  • Marko Smith

    What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats?

    • 3 Answers
  • Marko Smith

    How to determine if a bash variable is empty?

    • 15 Answers
  • Martin Hope
    Davie Ping a Specific Port 2009-10-09 01:57:50 +0800 CST
  • Martin Hope
    Smudge Our security auditor is an idiot. How do I give him the information he wants? 2011-07-23 14:44:34 +0800 CST
  • Martin Hope
    kernel Can scp copy directories recursively? 2011-04-29 20:24:45 +0800 CST
  • Martin Hope
    Robert ssh returns "Bad owner or permissions on ~/.ssh/config" 2011-03-30 10:15:48 +0800 CST
  • Martin Hope
    Eonil How to automate SSH login with password? 2011-03-02 03:07:12 +0800 CST
  • Martin Hope
    gunwin How do I deal with a compromised server? 2011-01-03 13:31:27 +0800 CST
  • Martin Hope
    Tom Feiner How can I sort du -h output by size 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent How to determine if a bash variable is empty? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus How do you find what process is holding a file open in Windows? 2009-05-01 16:47:16 +0800 CST

Related Questions

Trending Tags

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • Home
  • Questions
    • Hot Questions
    • New Questions
  • Tags
  • Help

Footer

SnapOverflow

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Help

© 2022 SOF-TR. All Rights Reserve