Sponsored Content
Special Forums IP Networking How to get IP of computer assigned by DHCP? Post 302883666 by corrado33 on Wednesday 15th of January 2014 01:22:44 PM
Old 01-15-2014
Quote:
Originally Posted by Corona688
We know, and gave several answers.

Dynamic DNS remains a good option I think. It amounts to leaving a little client program running on your computer to update the IP address mycomputer.bounceme.net points to, where mycomputer.bounceme.net is a free domain name hosted by no-ip. There are many free services like this for exactly this purpose.
I realize that Dynamic DNS are good, I have one running on my server at home but will they work for intranets? None of these IPs are external IPs, they are all internal to the work network.
 

10 More Discussions You Might Find Interesting

1. AIX

Re: User assigned to privileged group

Hi! I need to know what is the risk involved if a user with UID >100 is attached to a group with gid =1 .i.e., a user is attached to a priviliged group in AIX . Kindly let me know what security implication can arise in this case? Early reply in this regard will be highly appreciated. (1 Reply)
Discussion started by: faraz82
1 Replies

2. UNIX for Dummies Questions & Answers

What does $? mean when assigned to a variable?

If i write this statement in a Korn Shell script RCODE=$? what possibly does it eman? (3 Replies)
Discussion started by: ranjita.c
3 Replies

3. Solaris

Unix terminal re-assigned with wrong IP address from window's DHCP

Hi all, I have this problem that puzzles me, i have setup all the right DHCP configuration in Windows Server. The reservation IP address in windows for this specific unix terminal. However, when i rebooted the unix terminal the IP which was already assigned for this box somehow change to a total... (0 Replies)
Discussion started by: tlee
0 Replies

4. Shell Programming and Scripting

how to remove the assigned value from the string

Hi I have the following assignment in my ksh script: PX_LIST="4119 2390 2294 2776 2897 4099" Is there any sed/awk command which would allow the to remove certain number from this string. Let's say I need to remove PX=2390 from PX_LIST, so the output after deletion will be" PX_LIST="4119 2294... (5 Replies)
Discussion started by: aoussenko
5 Replies

5. Shell Programming and Scripting

Check if a variable has a value assigned?

Hi, I want to check if a variable has a value assigned to it or not. I can do following - cat $Var > File1 if then echo "$Var has value" else echo "$Var is null" fi But I have to check for 3 Variables and I want to wrap it up in couple of unix statements. Any... (3 Replies)
Discussion started by: sumeet
3 Replies

6. Red Hat

Which IPs from the range are assigned to DHCP enabled clients

Hi All dhcpd.conf has a range of IPs sa for example( 192.168.1.201 192.168.1.220) So this is the range of IP addresses the server will issue to DHCP enabled PC clients booting up on the network How do i know which IPs are being used or which IPs from the range are assigned to dhcp enabled... (11 Replies)
Discussion started by: tannu
11 Replies

7. Shell Programming and Scripting

Curly braces assigned to variables

Hi, Im pretty new to Unix. I came across a script which was using PLSQL inside a script and there was an unusual thing mentioned. there was a variable assigned as P_CUR=${1} and one more as V_TAGFILE="$1" Couldnt find the difference. Also the variables were used in PLSQL... (1 Reply)
Discussion started by: njks68
1 Replies

8. Shell Programming and Scripting

[Bash] Variable won't get assigned value

I am making of a script that will go through a couple of for loops and create file names based on the values in that loop, however the variable that combines everything is not getting assigned properly: #! /bin/bash for imod in K33_j1b_WS9_6 do for emod in mb2A mb2C mb3A mb3C mb4A... (1 Reply)
Discussion started by: badinsults
1 Replies

9. UNIX for Dummies Questions & Answers

How do you check if a variable has been assigned?

I am trying to check whether a variable has been assigned on the command line or not. Here is what I did: #!/usr/bin/bash if( $variable == '\0') { print "variable was not assigned" exit } else NF = 2 {print $1, ""} exit fi awk -f question1.awk variable = 58 letters.txt. So... (3 Replies)
Discussion started by: Fred63528
3 Replies

10. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies
Net::DNS::Resolver::Recurse(3)				User Contributed Perl Documentation			    Net::DNS::Resolver::Recurse(3)

NAME
Net::DNS::Resolver::Recurse - Perform recursive dns lookups SYNOPSIS
use Net::DNS::Resolver::Recurse; my $res = Net::DNS::Resolver::Recurse->new; DESCRIPTION
This module is a sub class of Net::DNS::Resolver. So the methods for Net::DNS::Resolver still work for this module as well. There are just a couple methods added: hints Initialize the hint servers. Recursive queries need a starting name server to work off of. This method takes a list of IP addresses to use as the starting servers. These name servers should be authoritative for the root (.) zone. $res->hints(@ips); If no hints are passed, the default nameserver is asked for the hints. Normally these IPs can be obtained from the following location: ftp://ftp.internic.net/domain/named.root recursion_callback This method is takes a code reference, which is then invoked each time a packet is received during the recursive lookup. For example to emulate dig's "+trace" function: $res->recursion_callback(sub { my $packet = shift; $_->print for $packet->additional; printf(";; Received %d bytes from %s ", $packet->answersize, $packet->answerfrom ); }); query_dorecursion This method is much like the normal query() method except it disables the recurse flag in the packet and explicitly performs the recursion. $packet = $res->query_dorecursion( "www.netscape.com.", "A"); IPv6 transport If the appropriate IPv6 libraries are installed the recursive resolver will randomly choose between IPv6 and IPv4 addresses of the nameservers it encounters during recursion. If you want to force IPv4 transport use the force_v4() method. Also see the IPv6 transport notes in the Net::DNS::Resolver documentation. AUTHOR
Rob Brown, bbb@cpan.org SEE ALSO
Net::DNS::Resolver, COPYRIGHT
Copyright (c) 2002, Rob Brown. All rights reserved. Portions Copyright (c) 2005, Olaf M Kolkman. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. $Id: Recurse.pm 740 2008-12-17 23:20:53Z olaf $ perl v5.12.1 2009-12-30 Net::DNS::Resolver::Recurse(3)
All times are GMT -4. The time now is 08:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy