publishing 192.168 address internally


 
Thread Tools Search this Thread
Special Forums IP Networking publishing 192.168 address internally
# 1  
Old 03-20-2008
publishing 192.168 address internally

OK this is what I want to do:

On server1 I want to type <ping server2> and be able to get:

pinging 192.168.0.12 ...... etc.

and by server2, I mean one-word, not server2.example.com

I know if I add the addresses to /etc/hosts I can achieve this, but I would like to not have to update all the hosts files when I add a server or change an IP.

I have 2 nameservers with tinydns running on the external nic and dnscache running on the internal.

So, is it possible to get dnscache / tinydns to publish a one-word alias that points to 192 addresses?

Thanks

Alan

addendum: The original reason I wanted to do this is I want to use the software from Unattended.sourceforge.net.
This is what they say:

Now please extend the configuration of your dns server. The Unattended server must be reachable with the name "ntinstall". Please configure an appropriate alias (CNAME). There may be problem when connecting to Windows 2000 or Windows Server 2003-based computer using this alias. Please look at following MS article

You will find plenty of documentation about this on the net.

Well, I found lots on Cnames pointing to FQDNs (ie Yahoo!) but nothing about ntinstall pointing to 192.168.0.12.

Again any help would appreciated.

Last edited by vertical98; 03-20-2008 at 07:19 PM.. Reason: Added more info
# 2  
Old 03-24-2008
if you want to use "ping server1" approach, add in /etc/resolv.conf :
Code:
search mynetdomain.net

, thus when you do :
ping server1 - it will be resolved internally as "ping server1.mynetdomain.net"
# 3  
Old 03-25-2008
Thanks, I'll try that

Alan
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Cybersecurity

DSL Modem 192.168.a.b botnet member me?

I need a hint or a clue. Some four weeks or even more I try to change the password for my wifi access of the DSL Router without success. I access 192.168.x.x and filling in username as well as the password I am stuck. Literally nothing happens and the support line tells me that this is not... (2 Replies)
Discussion started by: 1in10
2 Replies

2. Shell Programming and Scripting

Matching filenames and modifying them internally

hi i am trying to match filenames and modify the files internally depending on the match the filenames are something like this cm01FEB2012bhav cm01AUG2012bhav ... Internally the file(cm01FEB2012bhav) looks like this 20MICRONS,EQ,64.1,65.7,62.45,63.7,64.5,64.1,113043,01-FEB-2012... (4 Replies)
Discussion started by: adarsh1993
4 Replies

3. Red Hat

How to expose a box on the 63.x subnet with a route to the 192?

Hi all, I'm trying to expose a CentOS box on the 63.x subnet with a route to the 192 as our firewall doesn't allow a VPN. Would someone please let me know how I can do this? Thanks (0 Replies)
Discussion started by: tezarin
0 Replies

4. AIX

Mail bounced back externally - internally ok.

I am unable to send mail externally. It gets refused from any mail server. Here's my current config: oslevel -s 5300-07-05-0831 ******** mail -v foo@yahoo.com < /tmp/oracle.out Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .cf file is version 9... (3 Replies)
Discussion started by: gravy26
3 Replies

5. Shell Programming and Scripting

cat/delete per line any word "192.168.1.12"

Hi All Can u help me.. My problem is delete word per line sample: cat /tmp/file.txt monitor 192.168.1.11 Copying files in current directory 1 monitor 192.168.1.1 Copying files in current directory 2 monitor 192.168.1.12 Copying files in current directory 3 monitor 192.168.1.14... (1 Reply)
Discussion started by: carnegiex
1 Replies

6. HP-UX

XIO: fatal IO error 232 (Connection reset by peer) on X server "192.168.1.239:0.0"

Hi All... I'm newbie here..., i have problem when installing oracle9206, i use HPUX 11.11, i'm using Xmanager enterprise 2.1 for forwarding from server A to my laptop # export DISPLAY=192.168.1.239:0.0 # echo $DISPLAY output ==> 192.168.1.239:0.0 at the oracle directory, i execute ... (3 Replies)
Discussion started by: grimanda
3 Replies

7. UNIX for Dummies Questions & Answers

how does sleep work internally?

hi can someone explain how the sleep() function actually works, like where is it defined, wat files does it refer etc...? (1 Reply)
Discussion started by: meetbhattu
1 Replies
Login or Register to Ask a Question