Sponsored Content
Full Discussion: Configure DNS
Special Forums IP Networking Configure DNS Post 2314 by Neo on Monday 7th of May 2001 04:02:43 PM
Old 05-07-2001
You also need the name of your domain in the resolv.conf file:

Code:
domain     yourdomain.com

 

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Advanced & Expert Users

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!!! (6 Replies)
Discussion started by: q30
6 Replies

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
dn_comp(3)						     Library Functions Manual							dn_comp(3)

NAME
dn_comp - Compresses a domain name LIBRARY
Standard C Library (libc.a, libc.so) SYNOPSIS
#include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> int dn_comp ( const char *expanded_name, u_char *compressed_name, int length, u_char **name_ptrs, u_char **end_ptr ); PARAMETERS
Points to a domain name. Points to an array containing the compressed domain name. Specifies the size of the array pointed to by the com- pressed_name parameter. Specifies a list of pointers to previously compressed names in the current message. Points to the end of the array pointed to by the compressed_name parameter. DESCRIPTION
The dn_comp() (domain name compression) function compresses the domain name pointed to by the expanded_name parameter and stores it in the area pointed to by the compressed_name parameter. The dn_comp() function inserts labels into the message as the name is compressed. The dn_comp() function also maintains a list of pointers to the message labels. If the value of the name_ptrs parameter is null, the dn_comp() function does not compress any names, but instead translates a domain name from ASCII to internal format without removing suffixes (compressing). Otherwise, the name_ptrs parameter is the address of pointers to previously compressed suffixes. The list ends with NULL. If the end_ptr parameter is null, the dn_comp() function does not update the list of label pointers. The dn_comp() function is one of a set of subroutines that form the resolver, a set of functions that resolves domain names. Global infor- mation that is used by the resolver functions is kept in the _res data structure. The /include/resolv.h file contains the _res data structure definition. RETURN VALUES
Upon successful completion, the dn_comp() function returns the size of the compressed domain name. Otherwise, a value of -1 is returned and the h_errno external variable is set with an error code, if any. Error code values and reasons are defined in <netdb.h>. FILES
Defines name server and domain name structures, constants, and values. RELATED INFORMATION
Functions: dn_expand(3), dn_find(3), dn_skipname(3), putshort(3), putlong(3), res_init(3), res_mkquery(3), res_query(3), res_search(3), res_send(3), _getshort(3), _getlong(3). Commands: named(8). delim off dn_comp(3)
All times are GMT -4. The time now is 01:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy