Sponsored Content
Operating Systems Solaris ==please answer the following questions== Post 302749459 by vamshigvk475 on Friday 28th of December 2012 11:16:24 AM
Old 12-28-2012
Oracle ==please answer the following questions==

Hello Smilie !


i've few doubts.
1) how can we find the newly attached disk in SOLARIS ?

2) how to change port number of a service ?

3) how can we find that autofs is running in our system without using
svcs and prstat commands ?

4) we know that there are several types of dns servers in linux such
as bind,djbdns,power dns,nsd......

similarly , how many types of dns servers are there in SOLARIS ?

please tell me !!
Smilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

urgent- please answer these set of questions

Hi, I have a few questions to be answered.Please help me out in this.Its urgent. 1) what does ' $* ' mean, what does it do ? 2) Command to change UNIX Password. 3) What is Daemon processes ? 4) How do u execute a Unix command or process in the background ? 5) What is nohup ? 6) Difference... (6 Replies)
Discussion started by: uni_ajay_r
6 Replies

2. Shell Programming and Scripting

Answer Terminal Questions With Shell Script?

First off, I am using Mac OS X, with Apple Remote Desktop. I have to install several app's on teachers' laptops which are on several cd's that I have made disk images of. (DMG's) To do rollouts quicker, I have written a script to mount the disk images and running the installers inside each of... (4 Replies)
Discussion started by: The Reepr
4 Replies

3. UNIX for Dummies Questions & Answers

Unix Experts Answer this INterview Questions please

1, why Boot server should be in a network in jumpstart? 2, what is the different between patch and package? 3, how to list the avilable NIC in solaris9? 4, User complaing system is slow (solaris) what are the steps to check? 5, what is hardware error and software error and Transport Error? in... (5 Replies)
Discussion started by: suresh_krish
5 Replies

4. UNIX for Dummies Questions & Answers

can any one please answer these questions

6.nohup cmn is used to Prot execn of pgm frm aborting when hangup s/g is rxd Not hangup modem Disconn a node frm s/m Chng execn prev of pgm .wat is the o/p? Cut -d”” -f3 file1/sort -r Display 3rd col of file 1 in asc order Disp 3rd col of file 1 in desc Not ... (1 Reply)
Discussion started by: techguru
1 Replies

5. Shell Programming and Scripting

How to answer the Questions in Perl .

I need to write a script to telnet or ssh a device the execute some commands in device then copy the output in a file, I wrote the script but I faced one issue, when you execute some commands the device asked me a Question, for example : device # copy run tftp device # Source filename ? ... (3 Replies)
Discussion started by: DarkSoul
3 Replies

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

7. UNIX for Dummies Questions & Answers

Need answer for these LINUX questions URGENT!!

I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions. Appreciate your time thank you, :) If you look at the permissions associated with a symbolic link, it has universal access. Does this lead to security... (0 Replies)
Discussion started by: linux17
0 Replies

8. UNIX for Dummies Questions & Answers

Need answer for these LINUX questions URGENT!!

I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions. Appreciate your time thank you, :) 1. Make sure there is no filename1.txt in current directory first. Now, enter vi with "vi filename1.txt" command. vi... (4 Replies)
Discussion started by: linux17
4 Replies
dns-sd(1)						    BSD General Commands Manual 						 dns-sd(1)

NAME
dns-sd -- Multicast DNS (mDNS) & DNS Service Discovery (DNS-SD) Test Tool SYNOPSIS
dns-sd -R name type domain port [key=value ...] dns-sd -B type domain dns-sd -L name type domain DESCRIPTION
The dns-sd command is a network diagnostic tool, much like ping(8) or traceroute(8). However, unlike those tools, most of its functionality is not implemented in the dns-sd executable itself, but in library code that is available to any application. The library API that dns-sd uses is documented in /usr/include/dns_sd.h. The dns-sd command is primarily intended for interactive use. Because its command-line arguments and output format are subject to change, invoking it from a shell script will generally be fragile. Additionally, the asynchronous nature of DNS Service Discovery does not lend itself easily to script-oriented programming. For example, calls like "browse" never complete; the action of performing a "browse" sets in motion machinery to notify the client whenever instances of that service type appear or disappear from the network. These notifications con- tinue to be delivered indefinitely, for minutes, hours, or even days, as services come and go, until the client explicitly terminates the call. This style of asynchronous interaction works best with applications that are either multi-threaded, or use a main event-handling loop to receive keystrokes, network data, and other asynchronous event notifications as they happen. If you wish to perform DNS Service Discovery operations from a scripting language, then the best way to do this is not to execute the dns-sd command and then attempt to decipher the textual output, but instead to directly call the DNS-SD APIs using a binding for your chosen lan- guage. For example, if you are programming in Ruby, then you can directly call DNS-SD APIs using the dnssd package documented at <http://rubyforge.org/projects/dnssd/>. Similar bindings for other languages are also in development. dns-sd -R name type domain port [key=value ...] register (advertise) a service in the specified domain with the given name and type as listening (on the current machine) on port. name can be arbitrary unicode text, containing any legal unicode characters (including dots, spaces, slashes, colons, etc. without restriction), up to 63 UTF-8 bytes long. type must be of the form "_app-proto._tcp" or "_app-proto._udp", where "app-proto" is an appli- cation protocol name registered at http://www.dns-sd.org/ServiceTypes.html. domain is the domain in which to register the service. In current implementations, only the local multicast domain "local" is supported. In the future, registering will be supported in any arbitrary domain that has a working DNS Update server [RFC 2136]. The domain "." is a synonym for "pick a sensible default" which today means "local". port is a number from 0 to 65535, and is the TCP or UDP port number upon which the service is listening. Additional attributes of the service may optionally be described by key/value pairs, which are stored in the advertised service's DNS TXT record. Allowable keys and values are listed with the service registration at http://www.dns-sd.org/ServiceTypes.html. dns-sd -B type domain browse for instances of service type in domain. For valid types see http://www.dns-sd.org/ServiceTypes.html as described above. Omitting the domain or using "." means "pick a sensible default." dns-sd -L name type domain look up and display the information necessary to contact and use the named service: the hostname of the machine where that service is available, the port number on which the service is listening, and (if present) TXT record attributes describing properties of the service. Note that in a typical application, browsing happens rarely, while lookup (or "resolving") happens every time the service is used. For example, a user browses the network to pick a default printer fairly rarely, but once a default printer has been picked, that named ser- vice is resolved to its current IP address and port number every time the user presses Cmd-P to print. EXAMPLES
To advertise the existence of LPR printing service on port 515 on this machine, such that it will be discovered by the Mac OS X printing software and other DNS-SD compatible printing clients, use: dns-sd -R "My Test" _printer._tcp. . 515 pdl=application/postscript For this registration to be useful, you need to actually have LPR service available on port 515. Advertising a service that does not exist is not very useful, and will be confusing and annoying to other people on the network. Similarly, to advertise a web page being served by an HTTP server on port 80 on this machine, such that it will show up in the Bonjour list in Safari and other DNS-SD compatible Web clients, use: dns-sd -R "My Test" _http._tcp . 80 path=/path-to-page.html To find the advertised web pages on the local network (the same list that Safari shows), use: dns-sd -B _http._tcp While that command is running, in another window, try the dns-sd -R example given above to advertise a web page, and you should see the "Add" event reported to the dns-sd -B window. Now press Ctrl-C in the dns-sd -R window and you should see the "Remove" event reported to the dns-sd -B window. FILES
/usr/bin/dns-sd SEE ALSO
mdnsd(8) HISTORY
The dns-sd command first appeared in NetBSD 6.0, having originated in Mac OS X 10.4 (Tiger). NetBSD June 2, 2019 NetBSD
All times are GMT -4. The time now is 05:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy