Monday Jul 13, 2009
Thursday Aug 28, 2008
By David Botterill on Aug 28, 2008
Thursday Aug 14, 2008
By Brian Leonard on Aug 14, 2008
Here at Sun I get a lot of e-mails with links containing abbreviated domain names to Sun intranet sites. For example:
Which is intended to mean:
However, my browser tries to resolve it as:
Which of course fails.
The solution is to simply add the following line to /etc/resolv.conf:
Monday Aug 11, 2008
By Brian Leonard on Aug 11, 2008
OpenSolaris only allows me to ping machines in my local network by IP address:
bleonard@opensolaris:/etc$ ping 10.0.1.200 10.0.1.200 is alive bleonard@opensolaris:/etc$ ping -s integrity.local ping: unknown host integrity.local bleonard@opensolaris:/etc$While doing some digging I found the Service Discovery project, which uses Multicast DNS (mDNS) to locate services on the network. mDNS is managed by SMF and disabled by default. To use it, first copy the /etc/nsswitch.dns file to /etc/nsswitch.conf:
cd /etc pfexec cp nsswitch.conf nsswitch.conf.orig pfexec cp nsswitch.dns nsswitch.conf
Then enable the mDNS service:
svcadm enable /network/dns/multicast
Now the hostnames on your local network are properly resolved:
bleonard@opensolaris:/etc$ ping -s integrity.local PING integrity.local: 56 data bytes 64 bytes from 10.0.1.200: icmp_seq=0. time=1.011 ms 64 bytes from 10.0.1.200: icmp_seq=1. time=1.009 ms 64 bytes from 10.0.1.200: icmp_seq=2. time=0.939 ms 64 bytes from 10.0.1.200: icmp_seq=3. time=0.985 ms \^C ----integrity.local PING Statistics---- 4 packets transmitted, 4 packets received, 0% packet loss round-trip (ms) min/avg/max/stddev = 0.939/0.986/1.011/0.033 bleonard@opensolaris:/etc$
This is great because the IP addresses are assigned by DHCP, so I no longer have to keep track of changing IP addresses.
The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.
- Virtual Address Reservation in Solaris 11.3
- APIs for handling per-thread signals in Solaris
- PV IPoIB in Kernel Zones in Solaris 11.3
- Named threads in Oracle Solaris 11.3
- Better performing pthread reader-writer locks for NUMA architectures
- New Security Extensions in Oracle Solaris 11.3
- OpenSSL on Oracle Solaris 11.3
- Changes to ZFS ARC Memory Allocation in 11.3
- Multi-CPU Binding (MCB)
- Which Oracle Solaris Virtualization?