How to configure DNS


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to configure DNS
# 1  
Old 05-31-2002
How to configure DNS

My OS is sun solaris7,(sun sparc),i want connect inernet and my computer in my company intranet.After i configure proxy server,i still can't conncet internet.I guess whether the DNS is configured correctly.
who can help me???Thank you very much!!!
# 2  
Old 05-31-2002
You can define DNS and search domains in /ect/resolv.conf file.
Do "man resolv.conf" for more info.
# 3  
Old 06-01-2002
I do believe that it wouldn't hurt to also make an entry in the /etc/hosts file as well.

Also, in HPUX, there is a file called /etc/rc.config.d/netconf which also has some configuration for you do there as well. For subnetmask config and IP address and Hostname. Of course you have Solaris, so the file name might be different. But, you should still have a file similar to this.

You may also want to check your netstat output for your lan configuration. Try "netstat -in". I believe that is the same on your OS as well.


Smilie
# 4  
Old 06-02-2002
Re: How to configure DNS

Quote:
Originally posted by q30
My OS is sun solaris7,(sun sparc),i want connect inernet and my computer in my company intranet.After i configure proxy server,i still can't conncet internet.I guess whether the DNS is configured correctly.
who can help me???Thank you very much!!!

check out the internal resolver of sunOS env. ( resolve.conf .AND. nsswitch.conf ).

cheers
# 5  
Old 06-02-2002
Thank you

Thank you for your help.
I still don't know how to configure the /etc/resolv.conf.Is the file's format the same as the file /etc/defaultrouter?Please help me.In Windows,if the DNS is configured to localhost,it can connect internet.in unix,what is the DNS?the localhost?the proxy server?
Thank you!!!
look forwards to your reply!
# 6  
Old 06-03-2002
Hi,
The DNS is a server which permit you to resolve computers unqualified names to complete names (test -> test.foo.neo.com).
The localhost is your workstation. The proxy server can give you access to internet (I don't know how !!).
The best is you ask to your network or UNIX administrators to tell you if there is a DNS server on your network !!! If yes, this is the config for example:

nameserver "@IP of DNS server"
domain "your own name domain (foo.neo.com)
search "all the domain you want to search (neo.com hello.neo.com .....)

Hope this will help you
# 7  
Old 06-03-2002
Thank you

Thank you very much!!!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Trying to configure DNS using BIND package in Oracle Linux 6.6

Version: Oracle Linux 6.6 I am trying to set up DNS for forward and reverse lookups. I am new to BIND package. I have installed the following packages. bind (includes DNS server, named) bind-utils (utilities for querying DNS servers about host information) bind-libs (libraries... (0 Replies)
Discussion started by: kraljic
0 Replies

2. Homework & Coursework Questions

Configure DNS in rhel6.3

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: cant configure dns in virtual box. im using rhel6.3. i have a cd containing rhel which the professor provided us.... (2 Replies)
Discussion started by: rpmacaspac
2 Replies

3. UNIX for Advanced & Expert Users

Set up and configure DNS in virtualbox

hi to everyone. our instructor gave us a cd containing rhel6. where on 3rd week now and he is assgning us to configure a dns. Im using rhel 6.3(anaconda). i install bind. and says:nothing to do. when i follow step by step configuration in some website i encounter problems like i have no file... (1 Reply)
Discussion started by: rpmacaspac
1 Replies

4. Red Hat

How to configure DNS configuration for RHEL 5?

I wanted to know how to configure DNS configuration for RHEL 5. I hope, my query is clear of how to setup DNS for RHEL 5. Please revert with the reply to my query Regards (6 Replies)
Discussion started by: RHCE
6 Replies

5. Red Hat

configure dns in centos

Hi, how do I set the DNS in centos. I don't mean of creating DNS server, but setting what should be the DNS server of centos. I mean to what server he should go in order to translate url into ip (6 Replies)
Discussion started by: programAngel
6 Replies

6. Solaris

How to Configure DNS bind 9 with Ldap back-end

My environmnet : solaris 10 u 7 sparc To configure DNS bind use Ldap as zone record database, I use bind 9.7.0 and sun directory 5.2 I do follow http://imil.net/docs/Configuring_DNS_zones_with_LDAP.txt and stuck at make install Error from bind log "database: error: unsupported database... (0 Replies)
Discussion started by: tien86
0 Replies

7. IP Networking

Configure DNS

I am running Solaris 2.6 Server on a Sparc 10 and I was wondering how I can manually specify a DNS server to resolve hostnames. Any help will be greatly appreciated. And also I have created a file in the /etc dir named defaultrouter and added th IP address of my router, but when I ping another... (15 Replies)
Discussion started by: jskillet
15 Replies

8. HP-UX

Configure DNS,NFS,NIS,LDAP and LVM(mirror,sparing and multipathing)

Hello All, I am a newbee in HP UX wanted to know how to configure DNS,NFS,NIS,LDAP and LVM(mirror,sparing and multipathing) in HP UX 11iv2 and v3 and i did go through some of the docs on hp.com but i think those are for experience UX users and i am new to this so if some one could just mention... (1 Reply)
Discussion started by: coolsami
1 Replies

9. Solaris

configure DNS server on solaris

Hello evrybody I need to know how i can implement and configure DNS server in solaris9 and i need to understand which files i modified it to do that Thanks all (8 Replies)
Discussion started by: asafwat
8 Replies

10. IP Networking

trying to configure DNS address in Solaris

hi to all. I'm trying to use the sendmail command to generate some reports and I cant use it. The mails i try to send simply won't go out, instead I receive a response from the system sayng that the host is unknown. I think the problem is in the DNS configuration (or the IMAP/SMTP servers). ... (3 Replies)
Discussion started by: ldrojasm
3 Replies
Login or Register to Ask a Question