LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   zone file description (https://www.linuxquestions.org/questions/linux-newbie-8/zone-file-description-653288/)

waji 07-03-2008 04:13 AM

zone file description
 
Hi,

Can anyone inform me what does it mean in DNS zone file $ and @

Also let me know what my website is opening with URL: hxxp://www.example.com but not opening with hxxp://example.com

Is it DNS issue or apache serveraliases issue?

bathory 07-03-2008 04:50 AM

Quote:

Can anyone inform me what does it mean in DNS zone file $ and @
There are 3 directives starting with the "$" ($ORIGIN, $INCLUDE and $TTL)
@ is the same as $ORIGIN. Take a look here for details.
Quote:

Also let me know what my website is opening with URL: hxxp://www.example.com but not opening with hxxp://example.com

Is it DNS issue or apache serveraliases issue?
If both example.com and www.example.com resolve to the same IP address, then it's an apache ServerAlias issue.

waji 07-03-2008 05:02 AM

Quote:

If both example.com and www.example.com resolve to the same IP address, then it's an apache ServerAlias issue.
There is one A record for www
www A 192.168.5.5

Could you tell me what record I have to write for example.com

bathory 07-03-2008 05:19 AM

You can use the $ORIGIN or @:
Code:

@ IN A 192.168.5.5


All times are GMT -5. The time now is 10:45 PM.