Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8170987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:18:56+00:00 2026-06-06T21:18:56+00:00

I am trying to add multiple ip address under a sub domain in route

  • 0

I am trying to add multiple ip address under a sub domain in route 54. It is enough un the UI and it is easy to add one ip address using area54 or in boto.

e.g. master.hui.com
10.130.149.247
10.130.149.248

Using area54

ipaddress = '10.130.149.247'
entry =  'master.hui.com'
zone = route53.get_zone('hui.com')
add_dns = zone.add_record('A',entry, [ipaddress], ttl='60') 

In boto:

conn = Route53Connection(aws_access_key_id, aws_secret_access_key)
changes = ResourceRecordSets(conn, zone_id)

change = changes.add_change("CREATE",sub_domain, "A", 60)
change.add_value(ip_address)

So…how do I add two or more ip address under a sub domain using either area53 or boto?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T21:18:58+00:00Added an answer on June 6, 2026 at 9:18 pm

    You need to use WRRs. From the boto CLI:

    route53 add_record Z1J8BS4AFAKE12 foo.example.com. A 1.2.3.4 60 first 1
    route53 add_record Z1J8BS4AFAKE12 foo.example.com. A 5.6.7.8 60 second 2
    

    or from the API:

    change.add_change("CREATE", 'foo', 'A', ttl=60, weight=1, identifier='first')
    change.add_change("CREATE", 'foo', 'A', ttl=60, weight=2, identifier='second')
    

    See http://docs.amazonwebservices.com/Route53/latest/DeveloperGuide/WeightedResourceRecordSets.html

    Finally, what you are calling a “sub domain” is a “resource record”. “sub domain” implies a zone which left me confused when you sent this question to the boto-users mailing list.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, I am trying to add one row of multiple images to a JPanel,
I am trying to add multiple inline form items to a page using Djangos
i was trying to add multiple to address like this. MailAddress mailAddressTo = new
I am trying to add multiple texts on canvas element of HTML5 using context.fillText(...)
I'm having real issues trying to add multiple serverbindings to a single website using
I'm trying to add multiple instances of UIImageView(s) to an NSMutableArray of NSMutableDictionar(ies). I
I'm trying to add multiple jQuery data entries to a single element. I suspected
I'm fairly new to JQuery and I'm trying to add multiple form fields for
Trying to add a class object into a List using reflection, but when invoking
Trying to add a dynamic class value to one of my columns in CGridView:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.