[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Configuring Client DNS on Solaris 8

Posted on 2001-06-05
6
Medium Priority
?
397 Views
Last Modified: 2013-12-21
I just installed Solaris 8 on an Intel.  I figured out how to configure most everything (except DNS and email).  My guess is that the email needs DNS to be working properly for outbound mail (even if we're sending to an email addy like this: rich@63.23.145.83).

But either way, I have to get dns working so that I can hit www.yahoo.com with my browser on the solaris box.

The main problem that I've been running into is that we do not have a registered domain name with InterNIC that is associted with the IP of that machine.

The Solaris docs say this about configuring DNS with /etc/resolv.conf:
domain domainname
Where domainname is the name registered with the Internet governing bodies (as of this writing, the InterNIC).

Is there a workaround for this?  To be able to just specify the ip of the nameserver without having to specify a domain that is registered with InterNIC?

If it is required to use client side DNS with a domain like this, can we setup up one domain for a bunch of computers across the Internet?

I'll throw in extra points for a good answer (a lot of points if it's very useful and gives good instuctions on how I can do it).

Thanks!
0
Comment
Question by:quaxar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 5

Expert Comment

by:Droby10
ID: 6158351
you can use the following syntax to just create a resolving entry in the resolv.conf file for outbound resolution.

nameserver yournameserver


as far as it's use with sendmail, you'll want some form of reverse resolution (this would usually be provided by your upstream provider).  you can find out who needs to create this PTR entry for you at http://www.arin.net/whois/arinwhois.html just type your ip address and submit and then do lookups on the netblock owners for contact information.



0
 
LVL 38

Expert Comment

by:yuzh
ID: 6158711
Hi quaxar,

   You can get a template for setup the DNS server from the following
site:

   http://soldc.sun.com/technotes/named.html

   And for sendmail , go to the following site:

   http://www.sendmail.org/

   For sendmail, all you need to worry about is the :
    sendmail.cf file    -- the configuration file for setting up your sendmail


   I hope that this information help.

   Good luck!

0
 
LVL 5

Expert Comment

by:Nisus091197
ID: 6160017
Three simple steps:

1. Create a new file called /etc/resolv.conf with one line:

nameserver name_of_nameserver

2. Edit /etc/nsswitch.conf

Change the hosts line to:

hosts: files dns

3. Edit /etc/hosts

Put the IP address and name of nameserver exactly as described in the /etc/resolve.conf file:

e.g.

192.168.3.45   omnimodo nameserver dnshost

Regards, Nisus.
http://www.omnimodo.com
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 4

Accepted Solution

by:
besky earned 200 total points
ID: 6164942
I think you need to think this thru.

In order to get any dns info at all you need contact with an dns-server. You dont need your own, normally you use your ISP:s (should be in the docs you got from them).
You dont need to specify any domainname for this.

The client dns file (/etc/resolv.conf) has changed in Sol 8, it should have a "search mydom mydom.com isp.com" entry for adding domainnames to your normal hostnames AND one line pointing out the nameserver
" nameserver 131.119.32.231".
This ipaddress should be in the hosts file with a hostname, example "131.119.32.231   isphost"

Then add "dns" on the hostline in /etc/nsswitch.conf

When it comes to mail, you must have a domainname for mail to be working. Someone need to address you as "user@domain"
Otherwise it would be like to drop a letter in a mailbox addressed to Joe Black. (No street-address, no code, no city) Where will US Mail deliver it ?

I guess your not directly connected to the net so you have to rely on your ISP to use as your domainname for the FROM address. If you want to run your own mailserver you must have your own domainname otherwise your isp will have your mailbox.

Sorry but mail is not that easy.
0
 

Author Comment

by:quaxar
ID: 6165103
Thx Besky.  I got the dns working client side but the email is still another beast.

Thx too Nisus.  I wish I could give you some points too (will the system let me?)
0
 
LVL 5

Expert Comment

by:Nisus091197
ID: 6169800
Hi quaxar,

Thanks for the honourable mention.  If you wish to give points to me that would be great.  You can create a new question called 'Points for Nisus'.  I shall propose an answer and you can accept it.  It's all above board.

Regards, Nisus
http://www.omnimodo.com
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question