LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-29-2005, 01:56 AM   #1
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
DNS problem


Hi!

Im using Bind 8 in my SlackBox (slackware 10.1) that acts like a dns,web,mail server.


2 Things i doesnt understand, why I can ping to google.com, yahoo.com, berkeley.edu and so on and I cant ping to my domain? (ping mydomain.com doesnt work, ping www.mydomain.com works...)

mydomain.zone file I use as master zone in bind:

Code:
$TTL    2h
; Authoritative data for mydomain.com
;
mydomain.com.    IN       SOA         ns1.mydomain.com. root.mydomain.com. (
             2005011297      ; Serial (yymmddxx)
             10800           ; Refresh 3 hours
             3600            ; Retry   1 hour
             36000           ; Expire  10 hours
             2h )         ; Minimum 24 hours
      IN       NS            ns1.mydomain.com.
      IN       NS            ns2.mydomain.com.

;
;Recebimento de mensagens de mail
;
mydomain.com.  IN      MX      0       mail.mydomain.com.
mydomain.com.  IN      MX     10       mail.mydomain.com.

localhost   IN       A             127.0.0.1
            IN       HINFO         INTEL/110       LINUX
ns1         IN       A             xxx.xxx.xxx.xxx
ns2         IN       A             xxx.xxx.xxx.xxx
mail            IN      A       xxx.xxx.xxx.xxx
linux           IN      A       xxx.xxx.xxx.xxx
www             IN      A       xxx.xxx.xxx.xxx
ftp             IN      A       xxx.xxx.xxx.xxx
smtp            IN      A       xxx.xxx.xxx.xxx
pop             IN      A       xxx.xxx.xxx.xxx
Note that if I ping linux.mydomain.com I get answer... I can brownse www.mydomain.com but I cant browse mydomain.com ....
Anyideia of what is happening?


the 2 questions is still about DNS...
If I send an email to some-one@mydomain.com I dont receive the message... but if I send to some-one@www.mydomain.com (can be linux,mail,ftp, etc) I receive the message... note that I have already pointed to my MX address


Im very confuse, I have searched a lot trying resolve this problem... any ideia?

* my postfix mail server is right configured
** all the xxx.xxx.xxx.xxx are the same address



regards [ ]'s
 
Old 10-29-2005, 02:17 AM   #2
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
maginotjr

Try giving your domain an "A" record

Like this



Code:
$TTL    2h
; Authoritative data for mydomain.com
;
mydomain.com.    IN       SOA         ns1.mydomain.com. root.mydomain.com. (
             2005011297      ; Serial (yymmddxx)
             10800           ; Refresh 3 hours
             3600            ; Retry   1 hour
             36000           ; Expire  10 hours
             2h )         ; Minimum 24 hours
      IN       NS            ns1.mydomain.com.
      IN       NS            ns2.mydomain.com.

;
;Recebimento de mensagens de mail
;
mydomain.com.  IN      MX      0       mail.mydomain.com.
mydomain.com.  IN      MX     10       mail.mydomain.com.


mydomain.com.   IN      A   xxx.xxx.xxx.xxx
localhost   IN       A             127.0.0.1
            IN       HINFO         INTEL/110       LINUX
ns1         IN       A             xxx.xxx.xxx.xxx
ns2         IN       A             xxx.xxx.xxx.xxx
mail            IN      A       xxx.xxx.xxx.xxx
linux           IN      A       xxx.xxx.xxx.xxx
www             IN      A       xxx.xxx.xxx.xxx
ftp             IN      A       xxx.xxx.xxx.xxx
smtp            IN      A       xxx.xxx.xxx.xxx
pop             IN      A       xxx.xxx.xxx.xxx

Use a "." at the end of mydomain as above

Pete
 
Old 10-29-2005, 03:18 AM   #3
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Original Poster
Rep: Reputation: 35
GREAT PETE!!


This workerd great!

Thanks for the help (fast help at 6am)

regards!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS problem alvi2 Linux - Networking 3 05-13-2005 05:45 PM
DNS problem please help me bruse Linux - Networking 3 04-05-2005 06:59 AM
Possible DNS Problem? Hootah Linux - Networking 2 07-04-2004 02:12 PM
dns problem socket9001 Linux - Networking 1 06-12-2004 07:52 AM
problem with DNS bglad Linux - Networking 9 10-20-2003 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration