diff --git a/greenhost_cloud/cosmos.py b/greenhost_cloud/cosmos.py
index 1707c2291fc29757af78a62e52cd9e8df42ffb39..dca9e230e16c315b8c0d121f276d702c077580e7 100755
--- a/greenhost_cloud/cosmos.py
+++ b/greenhost_cloud/cosmos.py
@@ -59,7 +59,8 @@ def request_api(resource: str, request_type: str = 'GET',
 
 # API calls
 def create_domain_record(domain: str, name: str, data: str,
-                         record_type: str = 'A', update: bool = False):
+                         record_type: str = 'A', update: bool = False,
+                         ttl: int = 3600):
     """Create domain record.
 
     If 'update' is set to True, the record will be updated if it exists.
@@ -69,7 +70,8 @@ def create_domain_record(domain: str, name: str, data: str,
     record = {
         'name': name,
         'data': data,
-        'type': record_type
+        'type': record_type,
+        'ttl': ttl
     }
     # Check if record exists
     existing_record = get_domain_record_by_name(domain=domain, name=name,
diff --git a/setup.py b/setup.py
index e37489b4ec68803f64317a2dee8e2088e24d25d5..637da1f290b1c1398f524a60b903f5a2301b0a71 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
 
 setuptools.setup(
     name="greenhost_cloud",
-    version="0.1.1",
+    version="0.1.2",
     author="Greenhost",
     author_email="info@greenhost.net",
     description="Create and manipulate Greenhost VPSs via the command line or python functions.",