about DNS There is already a record for this zone.

Discussion in 'General' started by lishengxian, May 30, 2023.

  1. lishengxian

    lishengxian New Member

    Hello everyone, I have an ispconfig central server. Manage DNS for different cities. The DNS domain name is the same, but the resolved IP is different. When creating the same DNS zone, the prompt 'There is already a record for this zone' is displayed What configurations do I need to modify to remove DNS zone detection
    thankyou!
     

    Attached Files:

  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I can not understand what you mean by that.
    If the zone already exists, you can not create it. Why do you want two zones with the same name?
    Maybe what you wrote is not what you actually wanted? If you want to have same FQDN with two IP-numbers, that is done by adding two A records with differing IP-numbers.
    If this does not help, you need to explain more clearly what it is you are trying to accomplish.
     
    ahrasis likes this.
  3. lishengxian

    lishengxian New Member

    Thank you for your reply. Let me describe our situation in detail. Each of our office areas has an independent DNS server. Assume that there are two office areas in Beijing and Tianjin. The same business is deployed with local servers in these two office areas, such as WSUS. Because the network segments are different, the IPs that need to be resolved are also different. The office areas are independent of each other, and each office area has its own DNS. For some reasons, some of our domain names can only be resolved by DNS hijacking, and A records cannot be used

    The picture is a simple structure
     

    Attached Files:

  4. lishengxian

    lishengxian New Member

    感谢您的回复,我详细描述下我们的情况,我们每个办公区都有独立的DNS服务器。假设有北京和天津两个办公区,相同的业务在这个两个办公区都部署有本地服务器,比如WSUS,因为网段不同,所以需要解析出的IP也不同。办公区之间是相互独立的,每个办公区都有自己的DNS,出于某些原因,我们有些域名只能以DNS劫持的方式进行解析,不能使用A记录
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Those images did not make it any clearer. And you should post only english on this forum.
    If, I'm just guessing, you want same FQDN to resolve to different IP-adress depending on which office the query comes from, that can be done. I read DNS and Bind, by Albitz and Liu, Chapter "Name Service address Sorting", that seems tell how to configure name server so it answers first the IP that is in the same network the query comes from. I have never needed to use this, so I know nothing.
    Another method, with twice the work, is to set up separate name servers for each office, then you can configure the office name server to resolve the desired address.
    I have never needed to do this kind of setup, I would assing a different hostname for each resource, and configure the office clients to use the nearest resource.
     

Share This Page