Hello everyone,
I'm running my own nameservers for over 2 years now, but recently experienced some random disconnects, which I think are connected to the hostname becoming improperly configured. So i'm trying for hours now to get the commands traceroute and host to display the proper hostname for my servers ip address. My hostname is masterchief.insension.net, but it keeps on nagging me by saying its insension.net:
When tracing the servers second ip (91.192.37.203) it correctly gives me masterchief.insension.net.
I tried everything i could think of: setting the hostname in DA via administrator settings -> Server's hostname, doing it manually via hostname.sh, setting the hostname via CentOS's 'setup' utility, setting it with the command 'hostname masterchief.insension.net' (just using hostname does return masterchief.insension.net correctly), adding the ip and hostname to /etc/hosts so it reads:
In my desperation I even changed my resolv.conf to look like this:
though I don't see how it would help me (ok, perhaps that's slightly stupid
)
Just to be complete, here are the dns records for the hostname in DA:
And this is how the records for insension.net look:
So now I hope someone can tell me how stupid I am, because I'm at a loss here as you can see.
Thanks in advance!
I'm running my own nameservers for over 2 years now, but recently experienced some random disconnects, which I think are connected to the hostname becoming improperly configured. So i'm trying for hours now to get the commands traceroute and host to display the proper hostname for my servers ip address. My hostname is masterchief.insension.net, but it keeps on nagging me by saying its insension.net:
Code:
$sudo tracert 91.192.37.202
traceroute to 91.192.37.202 (91.192.37.202), 30 hops max, 60 byte packets
1 my.router (192.168.1.1) 0.455 ms 4.536 ms 4.645 ms
2 lb1.C10K05.nikhef.asd.xenosite.net (62.212.134.1) 11.951 ms 12.270 ms 12.506 ms
3 gw4.ge-3-2-0.nikhef.asd.xenosite.net (62.212.131.22) 14.325 ms 14.567 ms 15.113 ms
4 openpeering.nikhef.nl-ix.net (193.239.116.17) 17.824 ms 18.284 ms 18.525 ms
5 openpeering.nikhef.cj2.nl (213.207.5.3) 22.330 ms 23.209 ms 24.368 ms
6 rtr2-sig.ptp-3.cj2.nl (91.192.38.186) 24.770 ms 14.914 ms 15.454 ms
7 insension.net (91.192.37.202) 16.149 ms 12.176 ms 12.954 ms
$host 91.192.37.202
202.37.192.91.in-addr.arpa domain name pointer insension.net.
When tracing the servers second ip (91.192.37.203) it correctly gives me masterchief.insension.net.
I tried everything i could think of: setting the hostname in DA via administrator settings -> Server's hostname, doing it manually via hostname.sh, setting the hostname via CentOS's 'setup' utility, setting it with the command 'hostname masterchief.insension.net' (just using hostname does return masterchief.insension.net correctly), adding the ip and hostname to /etc/hosts so it reads:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost6.localdomain6 localhost6
91.192.37.202 masterchief.insension.net
In my desperation I even changed my resolv.conf to look like this:
Code:
search insension.net
nameserver 91.192.37.202
nameserver 91.192.37.203

Just to be complete, here are the dns records for the hostname in DA:
Code:
ftp A 91.192.37.202
localhost A 127.0.0.1
mail A 91.192.37.202
masterchief.insension.net. A 91.192.37.202
pop A 91.192.37.202
smtp A 91.192.37.202
www A 91.192.37.202
masterchief.insension.net. NS ns1.insension.net.
masterchief.insension.net. NS ns2.insension.net.
mail MX 10
masterchief.insension.net. TXT "v=spf1 a mx ip4:91.192.37.202 ~all"
And this is how the records for insension.net look:
Code:
ftp A 91.192.37.202
insension.net. A 91.192.37.202
localhost A 127.0.0.1
mail A 91.192.37.202
ns1 A 91.192.37.202
ns2 A 91.192.37.203
pop A 91.192.37.202
smtp A 91.192.37.202
www A 91.192.37.202
insension.net. NS ns1.insension.net.
insension.net. NS ns2.insension.net.
mail MX 10
insension.net. TXT "v=spf1 a mx ip4:91.192.37.202 ~all"
So now I hope someone can tell me how stupid I am, because I'm at a loss here as you can see.
Thanks in advance!