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 03-15-2004, 10:22 PM   #1
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Rep: Reputation: 15
Ping mydomain.com


Hi,

I have nameserver running. I can ping www.mydomain.com . But I cannot ping mydomain.com , it says Unknown host. What should I add in my zone file?

Thanks.

Using Slackware 9.1
 
Old 03-15-2004, 11:18 PM   #2
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Another thing is when I set nameserver 127.0.0.1 in /etc/resolv.conf, I cannot ping some address (such as www.linuxquestions.org , www.tpg.com.au ). However, when I set the nameserver to the IP of the machine (144.136.235.196), it works just fine. I though both IP should work, since they're pointing to the same machine?

Thanks.
 
Old 03-15-2004, 11:33 PM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
dns can be a major pain in the ass. The second problem "looks like" you are having problems with the forwarding dns. (that's the name, right?)

If you are asking a dns server about one domain and the server doesn't know about it, it has to ask someother dns server for it... that's the forwarding server. You have it correctly configured?

Always remember to use tcpdump.... you can save yourself major amounts of time by using it to monitor network activity.
 
Old 03-15-2004, 11:45 PM   #4
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
My bad, I forgot about forwarding server, works fine now. Just left with the first problem.

The reason is because I want to have email address like user@domain.com , instead of user@host.domain.com . However, if I put my email address as user@domain.com, some mail server will return the email, saying they cannot contact domain.com. Still working on it.

Oh, by the way. Say I bought domain.com , and at the provider, I created child nameserver of my machine ip, and i stick that child nameserver to the Primary/Secondary DNS for domain.com. Now, the question is whether domain.com has an IP mapped to it or not? Otherwise, if anyone have any idea how I map my machine ip to domain.com (currently it's mapped to host.domain.com).

Thanks a bunch!
 
Old 03-15-2004, 11:52 PM   #5
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Well.... I'm not much of a dns guru (too far from it)... but I think there is a DNS record devoted to mail servers. Am I right?
 
Old 03-16-2004, 12:16 AM   #6
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks anyway.

This is strange. I use nslookup:

-----START-----
>server 61.9.240.14
Default Server: dns1.wa.bigpond.net.au
Address: 61.9.240.14

>domain.com
Server: dns1.wa.bigpond.net.au
Address: 61.9.240.14

Name: domain.com


-----END-----

It does resolve the address, but with no address (IP). Anyone know how to map the given domain (domain.com) to an IP? And whether it has to be done in my domain provider, or in my server?

Thanks.
 
Old 03-16-2004, 04:58 AM   #7
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
I did another nslookup:

---START---
user@host:$ nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> server a.root-servers.net
Default server: a.root-servers.net
Address: 198.41.0.4#53

> www.domain.com
Server: a.root-servers.net
Address: 198.41.0.4#53

Non-authoritative answer:
www.domain.com canonical name = host.domain.com.
Name: host.domain.com (##1)
Address: 144.136.235.196
---END---

Now, anyone know what I need to configure, so that other nameserver see the machine as domain.com, instead of host.domain.com (see ##1 above)?

Thanks. Still struggling.
 
Old 03-16-2004, 05:42 AM   #8
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Solved!
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
sendmail: stat=Deferred: Connection timed out with email.mydomain.com intranet_man Linux - Software 1 07-19-2005 11:04 AM
How to make PHPBB not show a directory listining www.mydomain.com/phpBB2/ fur Linux - Networking 3 04-26-2004 07:17 PM
POSTFIX - user@host.mydomain.com - why? bryman55 Linux - Software 1 08-17-2003 12:52 PM
mail.mydomain.com does not work saravanan1979 Linux - Networking 8 02-01-2002 10:39 PM

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

All times are GMT -5. The time now is 12:51 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