hello,
in the router 3662 IOS 12.2(1) config for dns looks as follows:
...
ip domain-list town1.company.net
ip domain-list town2.company.net
ip name-server 10.2.2.32
...
I do not specify ip domain-name option.
When configured like this IOS NEVER resolves any name if it contains domain in it, in other words if there is at least one dot "." in the name. It can only resolve if only hostname is specified, i.e. no dots, consequently only hostnames in domains town1.company.net and town2.company.net in this example.
Why? such and implementation substantialy differs from BIND 4.9 implementation, for instance, which is mostly used. I have done thousands of traces with debug turned on on my DNS server to figure out how IOS constructs names using suffixes when sending a request and I could not figure out the logic behind it. There are cases when IOS does not send a request AT ALL!!! even if i request a name of valid and existing host.
Please, explain if anyone had the same problems.
Thanks,
/Marius