Sponsored Content
Special Forums IP Networking publishing 192.168 address internally Post 302177312 by vertical98 on Thursday 20th of March 2008 04:26:19 PM
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
 

7 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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. 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

6. 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

7. 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
PRIPS(1)						    BSD General Commands Manual 						  PRIPS(1)

NAME
prips -- print the IP addresses in a given range SYNOPSIS
prips [-c] [-d delim] [-e exclude] [-f format] [-i incr] start end prips [-c] [-d delim] [-e exclude] [-f format] [-i incr] CIDR-block prips -h DESCRIPTION
The prips tool can be used to print all of the IP addresses in a given range. It can enhance tools that only work on one host at a time, e.g. whois(1). The prips tool accepts the following command-line options: -c Print the range in CIDR notation. -d delim Set the delimiter to the character with ASCII code delim where 0 <= delim <= 255. -e <x.x.x,x.x> Exclude ranges from the output. -f format Set the format of addresses (hex, dec, or dot). -h Show summary of options. -i incr Set the increment to 'x'. ENVIRONMENT
The prips tool's operation is not influenced by any environment variables. FILES
The prips tool's operation is not influenced by any files. EXAMPLES
Display all the addresses in a reserved subnet: prips 192.168.32.0 192.168.32.255 The same, using CIDR notation: prips 192.168.32/24 Display only the usable addresses in a class A reserved subnet using a space instead of a newline for a delimiter: prips -d 32 10.0.0.1 10.255.255.255 Display every fourth address in a weird block: prips -i 4 192.168.32.7 192.168.33.5 Determine the smallest CIDR block containing two addresses: prips -c 192.168.32.5 192.168.32.11 DIAGNOSTICS
The prips utility exits 0 on success, and >0 if an error occurs. SEE ALSO
ipsc(1), gipsc(1) STANDARDS
No standards were harmed in the writing of the prips tool. HISTORY
The prips tool was originally written by Daniel Kelly and later adopted by Peter Pentchev. This manual page was originally written by Juan Alvarez for the Debian GNU/Linux system and later added to the prips distribution and converted to mdoc format by Peter Pentchev. AUTHORS
Daniel Kelly <dan@vertekcorp.com> Juan Alvarez <jalvarez@fluidsignal.com> Peter Pentchev <roam@ringlet.net> BUGS
Please report any bugs in the prips tool to its current maintainer, Peter Pentchev. BSD
March 1, 2011 BSD
All times are GMT -4. The time now is 01:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy