Sponsored Content
Operating Systems Linux Configuring dns in local domain Post 302433698 by pludi on Wednesday 30th of June 2010 09:15:01 AM
Old 06-30-2010
The TLD local. is usually reserved for ZeroConf / Multicast targets. To enable DNS resolution of Unicast IPs, add the line
Code:
mdns off

in your /etc/resolv.conf
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

configuring DNS

what are the files needed for the installation of a dns server on linux (redhat 7x)? what service does it run and where are the files & services located? (1 Reply)
Discussion started by: lealyz
1 Replies

2. Solaris

change dns (domain name)

hi gurus, need to check other than the hosts file, what else i need to change after we have changed the domain name in our company. currently, we are using olddnsname.com and will change it to newdnsname.com. i am not sure where else in solaris i need to take a look. please advise. thank... (4 Replies)
Discussion started by: kim_custodio
4 Replies

3. HP-UX

Configuring sendmail to modify the domain name

Hi, I would like to change the domain name using sendmail. For example, currently mails are sent like user@domain1.com I would like to change it to user@domain2.com How this can be done from HP-UX? Your help is highly appreciated. Thanks in advance. (0 Replies)
Discussion started by: smuthuvel
0 Replies

4. IP Networking

configuring dns and dhcp

hello i am running my sipx server in 192.168.2.14 i would like to configure domain name and host name for this ..... can anyone tell me how to configure dns server and dhcp server so that any body both outside and inside the lan could access the sipx server by their host.domain.com name (1 Reply)
Discussion started by: sudeepiit
1 Replies

5. IP Networking

Select DNS Servers depending on the domain

Hello, I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address. What I'd like is to... (4 Replies)
Discussion started by: martincastell
4 Replies

6. UNIX for Dummies Questions & Answers

Configuring DNS MX record

I now know that I have to configure dns mx to actually be able to send email correctly to my mail. I have the link(user guide) on how to do this : http://bobcares.com/blog/?p=29 but where do I configure it? Is there a specific file for the configuration? I really don't understand this part. (2 Replies)
Discussion started by: anaigini45
2 Replies

7. IP Networking

Ping domain indicates the external ip address and not the local ip

when i execute from local machine ping domainname i get the external ip address but i am on local dns and i expect the local ip address.. using nslookup : no problem so i cannot find why... thanks (2 Replies)
Discussion started by: activedms
2 Replies

8. UNIX for Dummies Questions & Answers

Configuring DNS

Hi guys, I had Cpanel VPS hosting and switched to non managed VPS hosting. My nameservers are configured as follows ns1.mobz.ca 69.175.76.110 ns2.mobz.ca 69.175.76.111 Before switching my domain worked perfectly. Like webprofessionalsconnect.com with those settings worked. With new... (4 Replies)
Discussion started by: vahankh
4 Replies

9. Linux

Domain registrars & DNS servers

I have read many tutorials on bind and i understand the A,MX, CNAME records. Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine. On the Internet, when we have purchased a valid domain like... (5 Replies)
Discussion started by: coolatt
5 Replies

10. UNIX for Beginners Questions & Answers

Linux is not appending domain name in DNS query

In my /etc/resolv.conf file there is domain name defined. But when I do nslookup the domain name is not appended. Why? (18 Replies)
Discussion started by: broy32000
18 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 03:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy