Adding Srv Records To Hosts File
Posted : adminOn 3/30/2018The /etc/hosts file can be used to override dns definitions, i.e. To point an hostname to a different ip. I want to use /etc/hosts to make an alias record, i.e.
Closed as off-topic by,,,, Feb 5 '15 at 18:38 This question appears to be off-topic. The users who voted to close gave these specific reasons: • 'Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on.' – Glenn Slaven, Lynn Crumbling, gunr2171 • 'Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on.' – Pang, Kevin Brown If this question can be reworded to fit the rules in the, please.
Nokia Bounce Ball Game here. Ryan_B wrote: Try the FQDN of your domain when adding. 'Yourdomain.local' or 'yourdomain.com'. If DNS is not working, you could try to put the IP address of the domain controller in the hosts file on the PC.
That might work, but the service records still need to be there, OP will probably end up with this error: (error code 0x0000232B RCODE_NAME_ERROR) The query was for the SRV record for Diplomat Select 620 Manual. _ldap._tcp.dc._msdcs.domain.local Its not just a question of resolving the domain. Here's some more detail as to DNS requirements for joining a domain. -- I don't even know why I'm posting what follows (it's just going to further distract the OP from the DNS issue that needs to be addressed), but OP could try to manually create the records required in the hosts file, but I don't know that you can use the hosts file for resolution of non SRV records, i.e. _ldap._tcp.dc._msdcs.domain.local in addition to domain.local Here's an old (NT 4.0/2000) KB article which discusses joining a domain using an LMHOSTS file. Really, though, DNS is the top priority here.