Submitted by gr8kodr on Mon, 01/30/2017 - 19:53
My VPS has 2 assigned IPs, but within Virtualmin I can only see "eth0" in use
How do I inform Virtualmin that "eth1" exists?
I have the secondary IP specifically for ns2 but at present it isn't setup because I don't know how to do it
Status:
Active
Comments
Submitted by JamieCameron on Mon, 01/30/2017 - 21:53 Comment #1
That depends .. do you want to use the eth1 IP address for a new domain? Or does it not have an IP assigned yet?
Submitted by gr8kodr on Mon, 01/30/2017 - 22:10 Comment #2
kstingel.com is on shared IP main (eth0) currently nothing is on secondary IP (eth1) - an IP has already been assigned to both eth devices
both IPs are active on boot, and showing as currently active in Webmin / Virtualmin but I don't know how to access eth1 from within Webmin
if you check https://intodns.com/kstingel.com you will see that I have ns1 and ns2 listed for the kstingel.com domain
I want to put ns2 on eth1 IP but I don't know how to do so
my current DNS files for the kstingel.com were manually created as I don't yet understand how to use the DNS BIND interface
Submitted by JamieCameron on Tue, 01/31/2017 - 00:01 Comment #3
So you just want to use the second IP as a second nameserver? That should already work just fine - the existing BIND on your system will accept connections to any IP.
Submitted by gr8kodr on Tue, 01/31/2017 - 00:46 Comment #4
something is wrong then ...
http://network-tools.com/default.asp?prog=dnsrec&host=kstingel.com report below:
Retrieving DNS records for kstingel.com...
DNS servers
ns1.kstingel.com [103.42.225.203]
ns2.kstingel.com [103.42.225.235]
Query for DNS records for kstingel.com failed: Timed out
Submitted by gr8kodr on Tue, 01/31/2017 - 00:48 Comment #5
I have no issue with doing another rebuild and starting fresh :)
Submitted by andreychek on Tue, 01/31/2017 - 09:02 Comment #6
What output do you receive if you run the command "ifconfig"?
Also, did you add the second IP to your server already, or is that something your provider did?
Submitted by gr8kodr on Tue, 01/31/2017 - 15:15 Comment #7
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:16:3e:bf:cc:04
inet addr:103.42.225.203 Bcast:103.42.225.255 Mask:255.255.255.0
inet6 addr: fe80::216:3eff:febf:cc04/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1603228 errors:0 dropped:0 overruns:0 frame:0
TX packets:257032 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:124960902 (124.9 MB) TX bytes:190842430 (190.8 MB)
eth0:1 Link encap:Ethernet HWaddr 00:16:3e:bf:cc:04
inet addr:103.42.225.235 Bcast:103.42.225.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:55082 errors:0 dropped:0 overruns:0 frame:0
TX packets:55082 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:12141040 (12.1 MB) TX bytes:12141040 (12.1 MB)
secondary IP was purchased from Host Service prior to spinning up the machine
Submitted by andreychek on Tue, 01/31/2017 - 15:47 Comment #8
It looks like the second IP address is working for other services.
DNS doesn't appear to be working on that IP though.
You may want to just try restarting BIND, and see if that helps.