Using a different domain name as the DNS server for a domain
Chris Buxton
cbuxton at menandmice.com
Tue Dec 1 17:43:46 UTC 2009
Yes, remove the A records for the name servers. They shouldn't be here - they belong in the zone named optiplex-networks.com.
Also, the last line of your zone looks quite odd. You should never have an IP address on the left side of a DNS record.
Chris Buxton
Professional Services
Men & Mice
On Dec 1, 2009, at 9:35 AM, Kaya Saman wrote:
> Ok I think I have got somewhere but still a bit unsure of what's going on!!
>
>
> dig birimgrup.com
>
> ; <<>> DiG 9.6.0-P1 <<>> birimgrup.com
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 567
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
>
> ;; QUESTION SECTION:
> ;birimgrup.com. IN A
>
> ;; ANSWER SECTION:
> birimgrup.com. 86400 IN A 192.168.1.170
>
> ;; AUTHORITY SECTION:
> birimgrup.com. 86400 IN NS ns2.optiplex-networks.com.
> birimgrup.com. 86400 IN NS ns1.optiplex-networks.com.
>
> ;; ADDITIONAL SECTION:
> ns1.optiplex-networks.com. 86400 IN A 192.168.1.100
> ns2.optiplex-networks.com. 86400 IN A 192.168.1.101
>
> ;; Query time: 7 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue Dec 1 19:31:53 2009
> ;; MSG SIZE rcvd: 133
>
>
> On top of that my zone file looks like so:
>
>
> ;
> ; BIND data file for example.com
> ;
> $TTL 1d
> @ IN SOA ns1.optiplex-networks.com. mail.optiplex-networks.com. (
> 2009120101 ; Serial
> 7200 ; Refresh
> 120 ; Retry
> 2419200 ; Expire
> 86400) ; Default TTL
> ;
> IN NS ns1.optiplex-networks.com.
> IN NS ns2.optiplex-networks.com.
> ns1.optiplex-networks.com. IN A 192.168.1.100
> ns2.optiplex-networks.com. IN A 192.168.1.101
> birimgrup.com. IN A 192.168.1.170 www.birimgrup.com. IN A 192.168.1.170
>
>
> However as I thought I have "ignoring out of zone data" error in my log.....
>
>
> Dec 1 19:31:16 NetraT1-RAY named[3646]: [ID 873579 daemon.warning] /var/named/birimgrup.db:14: ignoring out-of-zone data (ns1.optiplex-networks.com)
> Dec 1 19:31:16 NetraT1-RAY named[3646]: [ID 873579 daemon.warning] /var/named/birimgrup.db:15: ignoring out-of-zone data (ns2.optiplex-networks.com)
>
>
> Since line 14 and 15 are: ns1.optiplex-networks.com. IN A 192.168.1.100
>
> and
>
> ns2.optiplex-networks.com. IN A 192.168.1.101
>
> respectively I think I can remove them and all will be fine!
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
More information about the bind-users
mailing list