jskfan
asked on
Accessing with Hostname/FQDN/IP address
Accessing with Hostname/FQDN/IP address
I would like to know if DNS is used when accessing a share in a remote computer (Samba) using:
\\IPaddress\sharename
\\computername\sharename
\\computername.domainname\ sharename
I have some computers that start recently having issue accessing the share using:
\\computername\sharename
But able to access the share using:
\\computername.domainname\ sharename
\\IPaddress\sharename
the issue just started recently and there is nothing in the Logs about this issue
Any idea?
Thanks
I would like to know if DNS is used when accessing a share in a remote computer (Samba) using:
\\IPaddress\sharename
\\computername\sharename
\\computername.domainname\
I have some computers that start recently having issue accessing the share using:
\\computername\sharename
But able to access the share using:
\\computername.domainname\
\\IPaddress\sharename
the issue just started recently and there is nothing in the Logs about this issue
Any idea?
Thanks
You can also check the WINS server (if you have one) to make sure that there are records for the \\computername
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
- Ok, The DNS suffix is already added since we joined the machines to the domain.
- we don't use Wins server, just DNS.
-All computers use DNS server no host file .
- we don't use Wins server, just DNS.
-All computers use DNS server no host file .
So if you do an ipconfig /all, you do see a primary dns suffix?
In the properties of the network card TCP/IP 4 DNS settings does it look like the pic below:
What happens when you go to the command prompt and type in:
nslookup servername
screenshot.png
In the properties of the network card TCP/IP 4 DNS settings does it look like the pic below:
What happens when you go to the command prompt and type in:
nslookup servername
screenshot.png
ASKER
yes it's configured properly.
and the nslookup servername resolves properly too.
These are few of windows computers that have this issue, and it just happened recently, no configuartion have been changed.
I was just wondering if there is Netbios broadcast that has just stopped for some reason.
I believe when you use \\computername\sharename, it will use Netbios. Correct?
and when you use \\computername.domainname. com it will use DNS. Correct??
and the nslookup servername resolves properly too.
These are few of windows computers that have this issue, and it just happened recently, no configuartion have been changed.
I was just wondering if there is Netbios broadcast that has just stopped for some reason.
I believe when you use \\computername\sharename, it will use Netbios. Correct?
and when you use \\computername.domainname.
Here is the order from (http://support.microsoft.com/kb/172218):
1. The client checks to see if the name queried is its own.
2. The client then searches a local Hosts file, a list of IP address and names stored on the local computer.
3. Domain Name System (DNS) servers are queried.
4. If the name is still not resolved, NetBIOS name resolution sequence is used as a backup. This order can be changed by configuring the NetBIOS node type of the client.
1. The client checks to see if the name queried is its own.
2. The client then searches a local Hosts file, a list of IP address and names stored on the local computer.
3. Domain Name System (DNS) servers are queried.
4. If the name is still not resolved, NetBIOS name resolution sequence is used as a backup. This order can be changed by configuring the NetBIOS node type of the client.
ASKER
what I was asking was why I can access the share using:
\\computername.domainname\ sharename
But I can't when using \\computername\sharename
I thought they are both using DNS, and the computer itself has DNS suffix.
\\computername.domainname\
But I can't when using \\computername\sharename
I thought they are both using DNS, and the computer itself has DNS suffix.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
nslookup works just fine for both:
nslookup computername
nslookup computer.domainname
no duplicate record
nslookup computername
nslookup computer.domainname
no duplicate record
Do you have an entry inside of your smb.conf for "netbios hostname"? What is it?
What does "HOSTNAME" say inside of /etc/sysconfig/network?
Can you let me know what's in etc/hosts. We may want to make sure 2 entries are in there:
10.0.0.200 hostname.domainname hostname
What does "HOSTNAME" say inside of /etc/sysconfig/network?
Can you let me know what's in etc/hosts. We may want to make sure 2 entries are in there:
10.0.0.200 hostname.domainname hostname
ASKER
unfortunately I don't have any control/knowledge of Linux Samba
ASKER
Thanks
Then your machine will append .domainname when you ping a name without the domainname filled in.