Sponsored Content
Operating Systems Linux Configuring dns in local domain Post 302433586 by beloge2002 on Wednesday 30th of June 2010 04:04:59 AM
Old 06-30-2010
Configuring dns in local domain

Hi everybody,
for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings:
Voici mes fichiers de configuration:
- /etc/resolve.conf
Code:
search local
nameserver 127.0.0.1
nameserver 212.165.130.9

- /etc/named.conf
Code:
options {
        listen-on port 53 { 127.0.0.1; 10.10.0.1; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { any; };
        recursion yes;
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "."{
        type hint;
        file "named.ca";
};
zone "local"{
type master;
file "local.zone";
};

-/var/named/local.zone
Code:
$ttl 86400
 @          IN     SOA    ns1.local. root.local.(
                 2010062505 ; Serial
                 28800     ; Refresh
                 14400     ; Retry
                 3600000 ; Expire
                 86400 ) ; Minimum
 
  TXT                     "Serveur DNS primaire"
 
  NS                       ha1ub 
 
  NS                       ha1ub.local. 
 
  MX                       10 ha1ub 
 
 
 localhost               A                          127.0.0.1
 
 ha1ub                   A                          10.10.0.1
 
 mail                    CNAME                      ha1ub

Please, can you help me?

Last edited by pludi; 06-30-2010 at 05:14 AM.. Reason: code tags, please...
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

configuring DNS

what are the files needed for the installation of a dns server on linux (redhat 7x)? what service does it run and where are the files & services located? (1 Reply)
Discussion started by: lealyz
1 Replies

2. Solaris

change dns (domain name)

hi gurus, need to check other than the hosts file, what else i need to change after we have changed the domain name in our company. currently, we are using olddnsname.com and will change it to newdnsname.com. i am not sure where else in solaris i need to take a look. please advise. thank... (4 Replies)
Discussion started by: kim_custodio
4 Replies

3. HP-UX

Configuring sendmail to modify the domain name

Hi, I would like to change the domain name using sendmail. For example, currently mails are sent like user@domain1.com I would like to change it to user@domain2.com How this can be done from HP-UX? Your help is highly appreciated. Thanks in advance. (0 Replies)
Discussion started by: smuthuvel
0 Replies

4. IP Networking

configuring dns and dhcp

hello i am running my sipx server in 192.168.2.14 i would like to configure domain name and host name for this ..... can anyone tell me how to configure dns server and dhcp server so that any body both outside and inside the lan could access the sipx server by their host.domain.com name (1 Reply)
Discussion started by: sudeepiit
1 Replies

5. IP Networking

Select DNS Servers depending on the domain

Hello, I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address. What I'd like is to... (4 Replies)
Discussion started by: martincastell
4 Replies

6. UNIX for Dummies Questions & Answers

Configuring DNS MX record

I now know that I have to configure dns mx to actually be able to send email correctly to my mail. I have the link(user guide) on how to do this : http://bobcares.com/blog/?p=29 but where do I configure it? Is there a specific file for the configuration? I really don't understand this part. (2 Replies)
Discussion started by: anaigini45
2 Replies

7. IP Networking

Ping domain indicates the external ip address and not the local ip

when i execute from local machine ping domainname i get the external ip address but i am on local dns and i expect the local ip address.. using nslookup : no problem so i cannot find why... thanks (2 Replies)
Discussion started by: activedms
2 Replies

8. UNIX for Dummies Questions & Answers

Configuring DNS

Hi guys, I had Cpanel VPS hosting and switched to non managed VPS hosting. My nameservers are configured as follows ns1.mobz.ca 69.175.76.110 ns2.mobz.ca 69.175.76.111 Before switching my domain worked perfectly. Like webprofessionalsconnect.com with those settings worked. With new... (4 Replies)
Discussion started by: vahankh
4 Replies

9. Linux

Domain registrars & DNS servers

I have read many tutorials on bind and i understand the A,MX, CNAME records. Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine. On the Internet, when we have purchased a valid domain like... (5 Replies)
Discussion started by: coolatt
5 Replies

10. UNIX for Beginners Questions & Answers

Linux is not appending domain name in DNS query

In my /etc/resolv.conf file there is domain name defined. But when I do nslookup the domain name is not appended. Why? (18 Replies)
Discussion started by: broy32000
18 Replies
opendkim-atpszone(8)					      System Manager's Manual					      opendkim-atpszone(8)

NAME
opendkim-atpszone - DKIM ATPS zone file generation tool SYNOPSIS
opendkim-atpszone [-A] [-C address] [-E secs] [-h hash] [-N ns[,...]] [-o file] [-r secs] [-R secs] [-S] [-t secs] [-T secs] [-v] [dataset] DESCRIPTION
opendkim-atpszone generates a file suitable for use with named(8) to publish a set of domains authorized as third-party signers for a local domain. The dataset parameter should specify a set of data as described in the opendkim(8) man page. It can currently refer to flat files, Sleepy- cat databases, comma-separated lists, LDAP directories or SQL databases. The keys in the named database are assumed to comprise a set of domains that are to be advertised using the experimental Authorized Third-Party Signers protocol as permitted to sign mail using DKIM on behalf of the local domain. Values in the database are not used. OPTIONS
-A Adds a "._atps" suffix to records in the zone file. -C contact Uses contact as the contact information to be used when an SOA record is generated (see -S below). If not specified, the userid of the executing user and the local hostname will be used; if the executing user can't be determined, "hostmaster" will be used. -E secs When generating an SOA record (see -S below), use secs as the default record expiration time. The default is 604800. -h hash Specifies which SHA hash algorithm to use. Must be one of "none", "sha1" and "sha256", with "sha256" being the default if it is available. -N nslist Specifies a comma-separated list of nameservers, which will be output in NS records before the TXT records. The first nameserver in this list will also be used in the SOA record (if -S is also specified) as the authority hostname. -o file Sends output to the named file rather than standard output. -r secs When generating an SOA record (see -S below), use secs as the zone refresh time. The default is 10800. -R secs When generating an SOA record (see -S below), use secs as the zone retry time. The default is 1800. -S Asks for an SOA record to be generated at the top of the output. The content of this output can be controlled using the -E, -r, -R, -T options. The serial number will be generated based on the current time of day. -t ttl Puts a TTL (time-to-live) value of ttl on all records output. The units are in seconds. -T secs When generating an SOA record (see -S below), use secs as the default record TTL time. The default is 86400. -v Increases the verbosity of debugging output written to standard error. VERSION
This man page covers the version of opendkim-atpszone that shipped with version 2.6.8 of OpenDKIM. COPYRIGHT
Copyright (c) 2011, 2012, The OpenDKIM Project. All rights reserved. SEE ALSO
opendkim(8), opendkim.conf(5) The OpenDKIM Project opendkim-atpszone(8)
All times are GMT -4. The time now is 12:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy