branden_burger
2004-12-24, 06:54 AM CST
Hello people!
I suddenly find myself with access to a self managed linux server running Fedora which a bunch of people in my department hired but couldnt use properly. I am now the new to be fall guy.....! The server is somewhere in California and I am nowehere near it. We are to be our own DNS; tech support doesnt exist beyond reboots and hardware failure - anything else COSTS 50$ for a REQUEST!
Now I'm not new to linux but this is what we have to do - and I haven't done this before. I've set up networks, gateways, DHCP, NFS, etc - but I've never done this:
1)Configured a DNS server (which I've almost done now..)
2)Set up a mail server...
on a remote server I only have SSH access to.
However, I think that these things are not impossible. I've already made GOOD progress with 1). ;)
Question #1
I was given two IPs to work with. I logged in using SSH on one - the other IP wasn't up. Now the machine has two NICs, and the first IP runs on eth0. But here's the catch - the primary IP given to me is something like 55.44.33.24
and the second IP is of the form 200.100.100.10 NOT 55.44.33.25
now to get the second IP up such that its visible on the internet is it as simple as doing
ifconfig eth1 200.100.100.10
I mean - stupid question so - but what's the netmask for the Internet?
Do I have to add routes and stuff for the second NIC? The default gateway according to my routing table is of the form 55.44.33.1 . The second IP (200.100.100.1) seems unpingable - and iptables isn't up yet - so it isnt showing on the net.
Question #2 DNS
I've got BIND running on the system. I've managed to get the forward lookup zones configured properly (I've checked exhaustively with dig, host and nslookup). When I query my own nameserver (which I've just set up) I get the right answers for the nameservers, MX records, A records, etc for my domain and its hosts and other hosts like google.com, yahoo.com.
About the reverse lookups - Someone told me I have to ASK it from the service provider. Is that true? I thought I make the reverse zone 33.44.55.in-addr.arpa file myself such that when I do dig -x 55.44.33.25 I get the hostname dns1.mydomain.com . That's what I've done and a reverse lookup query to 55.44.33.1 (my own primary DNS) gives exactly that. However, the domain has not yet been updated with the domain registrar and internet root servers. When I do a reverse lookup on the primary IP from ANY OTHER nameserver (not my own), I get the hostname of the service providers DNS - though we HAVE to maintain our own DNS is part of the deal with them.
Thanks! I feel close to cracking this entire BIND/DNS mystery ..any help would make the thing much clearer...
The more you learn the less you know about before - digging deeper into higher ground.... :)
I suddenly find myself with access to a self managed linux server running Fedora which a bunch of people in my department hired but couldnt use properly. I am now the new to be fall guy.....! The server is somewhere in California and I am nowehere near it. We are to be our own DNS; tech support doesnt exist beyond reboots and hardware failure - anything else COSTS 50$ for a REQUEST!
Now I'm not new to linux but this is what we have to do - and I haven't done this before. I've set up networks, gateways, DHCP, NFS, etc - but I've never done this:
1)Configured a DNS server (which I've almost done now..)
2)Set up a mail server...
on a remote server I only have SSH access to.
However, I think that these things are not impossible. I've already made GOOD progress with 1). ;)
Question #1
I was given two IPs to work with. I logged in using SSH on one - the other IP wasn't up. Now the machine has two NICs, and the first IP runs on eth0. But here's the catch - the primary IP given to me is something like 55.44.33.24
and the second IP is of the form 200.100.100.10 NOT 55.44.33.25
now to get the second IP up such that its visible on the internet is it as simple as doing
ifconfig eth1 200.100.100.10
I mean - stupid question so - but what's the netmask for the Internet?
Do I have to add routes and stuff for the second NIC? The default gateway according to my routing table is of the form 55.44.33.1 . The second IP (200.100.100.1) seems unpingable - and iptables isn't up yet - so it isnt showing on the net.
Question #2 DNS
I've got BIND running on the system. I've managed to get the forward lookup zones configured properly (I've checked exhaustively with dig, host and nslookup). When I query my own nameserver (which I've just set up) I get the right answers for the nameservers, MX records, A records, etc for my domain and its hosts and other hosts like google.com, yahoo.com.
About the reverse lookups - Someone told me I have to ASK it from the service provider. Is that true? I thought I make the reverse zone 33.44.55.in-addr.arpa file myself such that when I do dig -x 55.44.33.25 I get the hostname dns1.mydomain.com . That's what I've done and a reverse lookup query to 55.44.33.1 (my own primary DNS) gives exactly that. However, the domain has not yet been updated with the domain registrar and internet root servers. When I do a reverse lookup on the primary IP from ANY OTHER nameserver (not my own), I get the hostname of the service providers DNS - though we HAVE to maintain our own DNS is part of the deal with them.
Thanks! I feel close to cracking this entire BIND/DNS mystery ..any help would make the thing much clearer...
The more you learn the less you know about before - digging deeper into higher ground.... :)