Sponsored Content
Operating Systems Linux Red Hat interview questions..plz help Post 302469859 by abhigrkist on Monday 8th of November 2010 11:36:37 AM
Old 11-08-2010
interview questions..plz help

hello,
I have some doubts .plz help



if i try to ping from a server, it doesnt ping & gives different ip address, and in nslookup i get different ip address, what is the problem ?

if u cant ssh to a server what will be ur steps ?
give full iptables command to open port 22

different types of backup ?
 

8 More Discussions You Might Find Interesting

1. Solaris

Interview Questions

hi everybody, my name is samir, i m from delhi,india. i m a student in solaris. just few days ago i had completed my course. can anybody tell me the possible interview questions in solaris. (1 Reply)
Discussion started by: samir_sinu
1 Replies

2. UNIX for Dummies Questions & Answers

Unix Interview Questions

Please please if anyone has time to answer them, this noob would highly appreciate it. Thanks in advance. 1. whats $# in a shell script 2. whats a $* in shell script 3. Explain nohup with an example 4. If $1 is the first parameter, whats $0 5. How do you see the return code of... (1 Reply)
Discussion started by: foxmulder123
1 Replies

3. Solaris

Solaris 10 Interview Questions?

Hey, My company is looking to bring on a Sr. UNIX Admin with Solaris 10 experience. What are some solid interview questions I could ask about UNIX and Solaris 10 that would weed a good guy out from a bad? Questions that don't involve long command lines would be the best. Thanks (1 Reply)
Discussion started by: mikepatton21
1 Replies

4. Shell Programming and Scripting

Interview Questions Required... Very urgent..

Hello everybody... I am a Faculty trainer in Unix working in a firm. Actually i needed around 800-1000 Linux related questions (Unix Commands,Shell Scripting,Unix Administration)... Can anyone help me... (1 Reply)
Discussion started by: mraghunandanan
1 Replies

5. Solaris

Solaris Interview Questions

Hi, Can anyone tell me which is the good site for solaris interview questions. Let me know if anyone has some material on the same. Thanks in advance. (1 Reply)
Discussion started by: amult
1 Replies

6. Solaris

Interview questions

Hi guys, Interview Questions:- 1) There are 2 ways to create a slice in Solaris 1) we can create using format command but there say other than format 1more within sec. we can create a slice. 2) ? 2) How to create a temperory SWAP Space 3) How to check the Devices from the... (2 Replies)
Discussion started by: kurva
2 Replies

7. Solaris

Please give me answer for these interview questions.

As i'm going to attend my first interview day after tomorrow, What should i need to answer if the interviewer asked me about 1. Tell me about your production environment. 2. What about your team size? 3. Tell me about the most critical situation/issue you have ever faced. Can any... (10 Replies)
Discussion started by: Sesha
10 Replies

8. UNIX for Dummies Questions & Answers

Linux Internals Interview Questions

Can anyone list the interview questions on Linux Internals? Any link for the same will also be helpful. In a job requirement of say C, linux internals what is expected about linux internals? (0 Replies)
Discussion started by: rupeshkp728
0 Replies
Net::Nslookup(3pm)					User Contributed Perl Documentation					Net::Nslookup(3pm)

NAME
Net::Nslookup - Provide nslookup(1)-like capabilities SYNOPSIS
use Net::Nslookup; my @addrs = nslookup $host; my @mx = nslookup(type => "MX", domain => "perl.org"); DESCRIPTION
"Net::Nslookup" provides the capabilities of the standard UNIX command line tool nslookup(1). "Net::DNS" is a wonderful and full featured module, but quite often, all you need is `nslookup $host`. This module provides that functionality. "Net::Nslookup" exports a single function, called "nslookup". "nslookup" can be used to retrieve A, PTR, CNAME, MX, NS, SOA, and TXT records. my $a = nslookup(host => "use.perl.org", type => "A"); my @mx = nslookup(domain => "perl.org", type => "MX"); my @ns = nslookup(domain => "perl.org", type => "NS"); my $name = nslookup(host => "206.33.105.41", type => "PTR"); "nslookup" takes a hash of options, one of which should be term, and performs a DNS lookup on that term. The type of lookup is determined by the type argument. If server is specified (it should be an IP address, or a reference to an array of IP addresses), that server(s) will be used for lookups. If only a single argument is passed in, the type defaults to A, that is, a normal A record lookup. If "nslookup" is called in a list context, and there is more than one address, an array is returned. If "nslookup" is called in a scalar context, and there is more than one address, "nslookup" returns the first address. If there is only one address returned, then, naturally, it will be the only one returned, regardless of the calling context. domain and host are synonyms for term, and can be used to make client code more readable. For example, use domain when getting NS records, and use host for A records; both do the same thing. server should be a single IP address or a reference to an array of IP addresses: my @a = nslookup(host => 'example.com', server => '4.2.2.1'); my @a = nslookup(host => 'example.com', server => [ '4.2.2.1', '128.103.1.1' ]) By default, when doing CNAME, MX, and NS lookups, "nslookup" returns names, not addresses. This is a change from versions prior to 2.0, which always tried to resolve names to addresses. Pass the recurse => 1 flag to "nslookup" to have it follow CNAME, MX, and NS lookups. Note that this usage of "recurse" is not consistent with the official DNS meaning of recurse. # returns soemthing like ("mail.example.com") my @mx = nslookup(domain => 'example.com', type => 'MX'); # returns soemthing like ("127.0.0.1") my @mx = nslookup(domain => 'example.com', type => 'MX', recurse => 1); SOA lookups return the SOA record in the same format as the `host` tool: print nslookup(domain => 'example.com', type => 'SOA'); dns1.icann.org. hostmaster.icann.org. 2011061433 7200 3600 1209600 3600 TIMEOUTS
Lookups timeout after 15 seconds by default, but this can be configured by passing timeout => X to "nslookup". DEBUGGING
Pass debug => 1 to "nslookup" to emit debugging messages to STDERR. AUTHOR
darren chamberlain <darren@cpan.org> perl v5.12.4 2011-08-15 Net::Nslookup(3pm)
All times are GMT -4. The time now is 03:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy