not able to ping...

hi

i able to ping dc-main who are a domain controler (win 2003)

to be able to get email i need to put dc-main.ramzi.local in thunderbird to the server area…

i’m not able to ping dc-main.ramzi.local

i know if i use a windows machine, if i want to connect to the server, i need to choose ramzi, enter username and password

how to be able to ping this adress to be able to access my email

thanks

I am not sure what you mean, so I can guess but may be completely wrong and tell you nuts.

You can only ping to an IP address. Of course an IP address may have a name attached to it which name resolves to the IP address using either /etc/hosts on the local system or a DNS server. So when

ping dc-main

works it mens in the first place that dc-main resolves to an IP address (and second that that system is up, running and connected to the network).
Now I assume that with dc-main.ramzi.local you mean the same system (and IP address) as dc-main.
When

ping dc-main.ramzi.local 

fails, it is of course important waht the error is. You fail to provide us with this information. So it can be:
a) dc-main.ramzi.local does not resolve to an IP address, which means that you have it not in your /etc/hosts like:

10.20.30.40 dc-main.ramzi.local dc-main

or you have a misconfigured DNS server for your ramzi.local domain.
b) it resolves, but to a different IP address and that IP address does not answer.

Hope this helps.

ya dc-main.ramzi.local it’s the same ip address than dc-main

i will check tomorrow for the error…

with another opensuse machine, i’m able to ping dc-main.ramzi.local

Then the other system may have dc-main.ramzi.local in its /etc/host, or use another DNS server.

You can ping to dc-main, which means you can ping to the IP address, which means the system is there and functions. You should concentrate on the fact that dc-main.ramzi.local does not lead to the correct IP address (probably to no IP address at all). It is an DNS or /etc/hosts problem, not a ping poblem.

i checked on the other suse machine and there are nothing special in the /etc/hosts file

in the suse machine i got the problem, the message i get it’s:

ping: unknown host

in the yast panel i tried to not use networkmanager… to see if that will change something

‘Unknown host’ means exactly what I try to explain: the name you provide can not be resolved to an IP address.

I do not think using networkmanager or not is a solution. Check what DNS server is used by both systems.

my other linux machine is able to ping this name…

how to know the DNS server and modify it?

That is part of the same YaST configuration page where you configure your host name. But is is in /etc/resolv.conf

in both machine, i have the same dns server

collinm wrote:

> i able to ping dc-main who are a domain controler (win 2003)
>
> to be able to get email i need to put dc-main.ramzi.local in
> thunderbird to the server area…

Mmm, well, you can put the ip address of the server, no need to use the
domain name.

Greetings,


Camaleón

Well Camaleón suggestion is worth trying (maybe you can even enter the IP address directly in that config). At least you would get things going. But it would not be very nice not to know what is wrong here >:(.

try

nslookup dc-main.ramzi.local

on both systems.

i will use directly the ip… thanks

hcvv wrote:

> Well Camaleón suggestion is worth trying (maybe you can even enter the
> IP address directly in that config). At least you would get things
> going. But it would not be very nice not to know what is wrong here
>>:(.

O.k. that’s for sure, things need to be well done :slight_smile:

I was only pointing a bypass. In fact, I am also using ip addresses instead
of domain names because I do not have a local dns server O:-)

> try
>
> Code:
> --------------------
> nslookup dc-main.ramzi.local
> --------------------
>
> on both systems.

Yes, that is a good point.

@collinm Also, if possible, check the logs on the dns server side to see
what is going on. What software is running that dns server?

Greetings,


Camaleón

On Sun July 12 2009 08:16 am, collinm wrote:

>
> hi
>
> i able to ping dc-main who are a domain controler (win 2003)
>
> to be able to get email i need to put dc-main.ramzi.local in
> thunderbird to the server area…
>
> i’m not able to ping dc-main.ramzi.local
>
> i know if i use a windows machine, if i want to connect to the server,
> i need to choose ramzi, enter username and password
>
> how to be able to ping this adress to be able to access my email
>
> thanks
>
>
collinm;

Your domain uses the .local suffix, by default this has a special meaning. To
use the .local you must edit /etc/host.conf (as root) and add the parameter:


mdns off

For details see: man host.conf

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

with the lookup, i get the same information on both machine…

@Camaleón.
I think your by-pass is OK. There is even a case for using the IP address: when your DNS server fails an important service may stay available. Using /etc/hosts to have that important system also there might also help in the case of a DNS failing. And, when your resolving uses /etc/hosts first, a much used connection between say a web-server and its database-server will not use the DNS server for most of its references, increasing performance.

@PV
Thanks for that input, it is one of the points where his systems might differ.

Well, I might ask which information? You are not very talkative in what the answers from your system(s) are when we suggest something. It is very easy to cut and paste from your terminal window into the forums input field (please surrounded by CODE tags, use the # sign button above the input field). Then we would all be able to exactly what you see, which is very illuminating in most cases.