[GH-ISSUE #13] How to add A Record? #4

Closed
opened 2026-03-04 23:23:39 +03:00 by kerem · 2 comments
Owner

Originally created by @hgati on GitHub (Jul 25, 2015).
Original GitHub issue: https://github.com/yswery/PHP-DNS-SERVER/issues/13

My subdomain is.....
admin.mydomain.com 111.111.111.111
db.mydomain.com 112.112.112.112

dns_record.json

{
    "mydomain.com": {
        "A": [
            "111.111.111.111",
            "112.112.112.112"
        ]
    }
}

HOW TO ADD MY SUBDOMAINS?

Originally created by @hgati on GitHub (Jul 25, 2015). Original GitHub issue: https://github.com/yswery/PHP-DNS-SERVER/issues/13 My subdomain is..... admin.mydomain.com 111.111.111.111 db.mydomain.com 112.112.112.112 dns_record.json ``` json { "mydomain.com": { "A": [ "111.111.111.111", "112.112.112.112" ] } } ``` HOW TO ADD MY SUBDOMAINS?
kerem closed this issue 2026-03-04 23:23:39 +03:00
Author
Owner

@yswery commented on GitHub (Jul 25, 2015):

To add sub-domains simple add them like so to your records file:

{
    "mydomain.com": {
        "A": [
            "111.111.111.111",
            "112.112.112.112"
        ]
    },

    "admin.mydomain.com": {
        "A": [
            "123.123.123.123"
        ]
    }
}

<!-- gh-comment-id:124789587 --> @yswery commented on GitHub (Jul 25, 2015): To add sub-domains simple add them like so to your records file: ``` { "mydomain.com": { "A": [ "111.111.111.111", "112.112.112.112" ] }, "admin.mydomain.com": { "A": [ "123.123.123.123" ] } } ```
Author
Owner

@hgati commented on GitHub (Jul 25, 2015):

Okay, good...
thanks

<!-- gh-comment-id:124789656 --> @hgati commented on GitHub (Jul 25, 2015): Okay, good... thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PHP-DNS-SERVER#4
No description provided.