There are lots of posts on these forums explaining this; all in the past month or so. So it should be easy to find them.jack said:I'm setting named to look up domains from forwarders, but I don't want the results to be cached. Do you know how to disable DNS caching? Thanks.
I hate to guess as to why you want to do this, but I know why I want to do it... so I can set up a free-parking site that will work automatically.Kiore said:I want to set up my machine so that any query to the DNS for the address of an unknown domain will return xxx.xxx.xx.227 and have apache (actually a custom php script of mine) serve requests for any domain that arrives.
jlasman said:I hate to guess as to why you want to do this, but I know why I want to do it... so I can set up a free-parking site that will work automatically.
So I guess the only thing I have to remind you of is that in BIND, wildcards only work if there are NO other references to the domain anywhere in your DNS zones. On either the left side or the right side.
jlasman said:There are lots of posts on these forums explaining this; all in the past month or so. So it should be easy to find them.
Jeff
That's a good question.Kiore said:Does this mean that I can't have both example.com and *.com on the same server?
I don't use forwarders, so I can't test. If the caching-nameserver RPM isn't installed on your system, then you obviously don't have to remove it .jack said:I found a post written by you says need to remove caching-nameserver, but caching-nameserver doesn't seem to exist on my machine. I have already set named to "recursion no;". I don't know what else would do the cache job. Have to restart named to make it obtain new ip from the forwarders, even named reload doesn't work.