Friday, February 26, 2010

How to configure DNS in Solaris and AIX?

It is very simple.
Solaris
1) Create /etc/resolv.conf file with your DNS server entries
    Ex:
    bash-2.05$ cat /etc/resolv.conf
                      nameserver 10.999.9.999      #First preference server to look
                      nameserver 10.999.9.999      #Second preference server to look
                      search=domain.comp.net

2) Modify the file /etc/nsswitch.conf
    Look for
      "hosts: files"
    in this file and replace it with
     "hosts: files dns"

Thats it. DNS will be enabled


AIX
1) In /etc/netsvc.conf check for
hosts = local, bind


where the entry "bind" is for dns


2) Modify /etc/resolv.conf file with your DNS server entries
    Ex:
    bash-2.05$ cat /etc/resolv.conf
                      nameserver 10.999.9.999      #First preference server to look
                      nameserver 10.999.9.999      #Second preference server to look
                      search=domain.comp.net

Note: You can use smitty to configure this

22 comments:

Anonymous said...

Hi,

When ever I surf on web I come to this website[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url]siddesh-bg.blogspot.com really contains lot of useful information. I am sure due to busy scedules we really do not get time to care about our health. Are you really serious about your weight?. Recent Research indicates that almost 80% of all United States adults are either obese or overweight[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url] Hence if you're one of these people, you're not alone. In fact, most of us need to lose a few pounds once in a while to get sexy and perfect six pack abs. Now next question is how you can achive quick weight loss? You can easily lose with with little effort. If you improve some of your daily diet habbits then, its like piece of cake to quickly lose weight.

About me: I am blogger of [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss tips[/url]. I am also health trainer who can help you lose weight quickly. If you do not want to go under painful training program than you may also try [url=http://www.weightrapidloss.com/acai-berry-for-quick-weight-loss]Acai Berry[/url] or [url=http://www.weightrapidloss.com/colon-cleanse-for-weight-loss]Colon Cleansing[/url] for quick weight loss.

Anonymous said...

Great goods from you, man. I have understand your stuff previous to and you're just too excellent. I really like what you have acquired here, certainly like what you're stating and the way in which you say it.
You make it enjoyable and you still care for to keep it sensible.
I can't wait to read much more from you. This is actually a great web site.

my web page :: http://purecleanse.info

Anonymous said...

It's truly a great and useful piece of info. I'm happy that you shared this helpful information with
us. Please keep us informed like this. Thanks for sharing.


Here is my webpage: Beaute MD Skin Care

Anonymous said...

I couldn't refrain from commenting. Very well written!

Feel free to surf to my site Nutra Burn

Anonymous said...

It's appropriate time to make a few plans for the future and it is time to be happy. I've
learn this publish and if I may just I want to suggest you few attention-grabbing issues
or advice. Maybe you could write subsequent articles referring to this article.
I want to read more things approximately it!



My page ... Buy apple stem cell serum

Anonymous said...

I think the admin of this web site is actually working hard in support of his website, for the reason that here every data is quality based stuff.


Feel free to visit my weblog: Power Precision Muscles

Anonymous said...

Greetings! Very helpful advice within this article! It's the little changes that will make the most important changes. Thanks a lot for sharing!

my website - Nutra green coffee review

Anonymous said...

Thankfulness to my father who informed me regarding this website, this
blog is actually remarkable.

my web blog ... Beta Force Muscle

Anonymous said...

What a stuff of un-ambiguity and preserveness of precious knowledge about unexpected emotions.



Stop by my web site Max Thermo Weight Loss

Anonymous said...

I comment each time I like a article on a website or
I have something to valuable to contribute to the conversation.
It is caused by the sincerness communicated in the article I read.
And after this post "How to configure DNS in Solaris and AIX?".
I was actually excited enough to write a thought ;) I actually do have a couple of questions for you if you usually do not mind.
Could it be just me or do some of the remarks come across as if they are left by brain dead folks?
:-P And, if you are writing at other places, I would like to keep up with anything new you have to post.
Could you make a list the complete urls of all your social sites like your Facebook page, twitter feed, or linkedin profile?


my weblog Coffee PUre Cleanse Diet

Anonymous said...

Howdy! Quick question that's totally off topic. Do you know how to make your site mobile friendly? My website looks weird when viewing from my iphone 4. I'm
trying to find a template or plugin that might be able to
correct this issue. If you have any recommendations, please share.
Thank you!

Feel free to visit my website Rvtl Skin Care

Anonymous said...

Have you ever thought about publishing an e-book or guest authoring on other sites?
I have a blog centered on the same topics you discuss and would love to have you share some stories/information.
I know my subscribers would enjoy your work. If you are even remotely interested, feel free to send
me an e mail.

Have a look at my site; green coffee reviews

Anonymous said...

This site was... how do I say it? Relevant!! Finally I have found something that helped me.
Appreciate it!

Also visit my webpage: Order Pure Garcinia Cambogia

Anonymous said...

Hello colleagues, pleasant post and nice urging commented here, I am
actually enjoying by these.

My homepage; Garcinia Cambogia Safe

Anonymous said...

Hi there! I just wanted to ask if you ever have any trouble with hackers?
My last blog (wordpress) was hacked and I ended up losing
several weeks of hard work due to no data backup. Do you have any methods to stop
hackers?

Feel free to visit my webpage - Cosima revival

Anonymous said...

Hi there! I just wanted to ask if you ever have any problems with hackers?
My last blog (wordpress) was hacked and I ended up losing
months of hard work due to no backup. Do you have any
methods to stop hackers?

my website 1285 Muscle Supplement

Anonymous said...

Your way of telling everything in this post is genuinely pleasant,
every one be able to simply know it, Thanks a lot.



My web-site; Test Force Xtreme Review

Anonymous said...

Hey I know this is off topic but I was wondering if you knew of
any widgets I could add to my blog that automatically tweet my newest twitter updates.
I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

My web blog nuva genic and solpria

Anonymous said...

My brother suggested I would possibly like this website.
He was entirely right. This post actually made my day.
You can not consider simply how much time
I had spent for this information! Thank you!



Ohio Mover

Anonymous said...

Hi there, just wanted to tell you, I loved this blog post. It was helpful.
Keep on posting!

My weblog - ferry boat called

Anonymous said...

Thankfulness to my father who stated to me about
this web site, this website is truly remarkable.

Feel free to visit my blog; internet business ideas

Anonymous said...

electronic cigarette, ecigarette, ecig, electronic cigarette, smokeless cigarettes, electronic cigarettes